Page MenuHomePhabricator

[[Special:Notifications]] gets really confused with notifications close to midnight (local timezone / UTC issue?)
Closed, ResolvedPublic

Description

Screenshot

[[Special:Notifications]] gets really confused with notifications close to midnight.

When I viewed my notifications just now (in my timezone: ~1 AM, August 24) I saw four headings: August 24, Today, Yesterday, August 21 (in that order). This is quite weird.


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz53285

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:46 AM
bzimport added a project: Notifications.
bzimport set Reference to bz53285.
bzimport added a subscriber: Unknown Object (MLST).

(The language on the screenshot is weird because of bug 52992.)

bsitu wrote:

Yeah, the notification timestamp is converted to user timezone, while the timestamp for 'today' and 'yesterday' remain in UTC timezone.

Thanks for the reminder on the 'uselang', I will try to address that issue as soon as possible, :)

Change 80688 had a related patch set uploaded by Bsitu:
Date header should be converted to user local time for comparison

https://gerrit.wikimedia.org/r/80688

Change 80688 merged by jenkins-bot:
Date header should be converted to user local time for comparison

https://gerrit.wikimedia.org/r/80688