← Back to team overview

ubuntu-apps-bugs team mailing list archive

[Bug 1220043] Re: Thread date off by one day

 

** Changed in: messaging-app
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to messaging-app in Ubuntu.
https://bugs.launchpad.net/bugs/1220043

Title:
  Thread date off by one day

Status in Messaging App:
  Fix Released
Status in “messaging-app” package in Ubuntu:
  Fix Released

Bug description:
  A message thread in MainPage gets marked as "Yesterday," even if the
  most recent message was from today, since I am in GMT-0400.  Threads
  from previous days are marked as being a day earlier than they were
  actually sent.  The messages themselves have the correct time/date
  attached to them.

  The problem appears to be caused by the Date constructor's parsing:

      new Date("2013-09-02") // assumes UTC/GMT time zone
      new Date("2013/09/02")) // assumes local time zone

  and eventDate (referenced in MainPage.qml:63)  is stored in the former
  format.

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