← Back to team overview

touch-packages team mailing list archive

[Bug 1256692] Re: Call duration is reported to be one hour longer

 

I have write application for Ubuntu touch; and getTimeZone(date) not
work !!!

** Changed in: dialer-app
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dialer-app in Ubuntu.
https://bugs.launchpad.net/bugs/1256692

Title:
  Call duration is reported to be one hour longer

Status in Dialer app for Ubuntu Touch:
  Fix Committed
Status in “dialer-app” package in Ubuntu:
  Triaged

Bug description:
  In dialer-app/HistoryPage/dateUtils.js in function
  formatFriendlyCallDuration the time.getHours() return 1 for duration =
  '1970-01-01T00:00:45'.

  In fact it always return one hour more that it is in fact. My timezone
  is MSK (Moscow, currently +4 - we do not use summer/winter shift).
  getTimezoneOffset() returns -240 (which is 4 hours, so correct). I
  believe the problem is in JavaScript getHours() function. If I switch
  to CET or other everthing is ok.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dialer-app/+bug/1256692/+subscriptions