Some MyDashboard "updated" friendly dates are inappropriate and/or broken w.r.t. timezones

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
Extensions: MyDashboard
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: gerv, Assigned: dkl)

Tracking

Production

Details

(Reporter)

Description

4 years ago
MyDashboard is awesome. One problem:

It is currently 5.11pm local time (GMT, UK). One of the bugs listed in my dashboard query is bug 853619, which as I write has a last modification time of:

2013-03-22 02:33 PDT

MyDashboard says it was last updated "tonight".

Firstly, "tonight" is a term generally referring to the night following the current time period, i.e. in the future. "Last night" would refer to the previous period of darkness.

Secondly, that bug was last updated at 9.33am my local time this morning, which from my point of view is not "tonight", "last night" or any night.

So something is a bit wrong here :-)

Gerv
(Assignee)

Comment 1

4 years ago
Thought I had this fixed before but wasn't so now I think I have the right combination.

Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2             
modified extensions/MyDashboard/lib/Queries.pm
modified extensions/MyDashboard/lib/TimeAgo.pm
Committed revision 8683.

dkl
Assignee: nobody → dkl
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Assignee)

Updated

4 years ago
Duplicate of this bug: 852994
When will this fix be actually applied on bugzilla.mozilla.org? It is still broken yet.
(In reply to Xidorn Quan from comment #3)
> When will this fix be actually applied on bugzilla.mozilla.org? It is still
> broken yet.

it was applied in march.  if you're still seeing this issue please file a new bug.
You need to log in before you can comment on or make changes to this bug.