Closed Bug 397683 Opened 17 years ago Closed 17 years ago

Graph server displays time relative to local time zone

Categories

(Webtools Graveyard :: Graph Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gavin, Assigned: anodelman)

Details

Attachments

(1 file, 1 obsolete file)

I see different dates on graphs.mozilla.org if I change the TZ environment variable before launching my browser. By default, I see times that are three hours ahead of the times on Tinderbox, because I'm 3 hours of PDT. The graphs should show the same times regardless of local browser settings (PST/PDT, presumably).
It's debatable what the best arrangement is.

If tinderbox, bonsai, and graphs all gave local times/dates then that could be quite convenient.

But it would be good if everything is consistent, and the timezone should be specified.

(A switch to change the timezone is a possibility too I guess.)
Assignee: nobody → anodelman
This patch should force all dates to be displayed in pst/pdt so that they don't differ from those displayed on the tinderbox pages.

I'm pretty new to this whole date/time/timezones/dst confusion, so I'm not sure if this is the best approach.
Attachment #284700 - Flags: review?(vladimir)
I think that I was still getting local vs. UTC confused in that last patch.

Timezones are hard.
Attachment #284700 - Attachment is obsolete: true
Attachment #284709 - Flags: review?(vladimir)
Attachment #284700 - Flags: review?(vladimir)
Status: NEW → ASSIGNED
Checking in GraphCanvas.js;
/cvsroot/mozilla/webtools/new-graph/js/GraphCanvas.js,v  <--  GraphCanvas.js
new revision: 1.22; previous revision: 1.21
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
No longer blocks: 386669
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: