← Back to team overview

touch-packages team mailing list archive

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

 

** Changed in: dialer-app (Ubuntu)
       Status: New => Triaged

** Changed in: dialer-app (Ubuntu)
   Importance: Undecided => Medium

** Also affects: dialer-app
   Importance: Undecided
       Status: New

** Changed in: dialer-app
       Status: New => Triaged

** Changed in: dialer-app
   Importance: Undecided => Medium

-- 
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:
  Triaged
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