Bug 31314
| Summary: | Timestamps in Bugzilla show PDT even for times when DST was not in effect | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | mitz |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ddkilzer, mrowe |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
mitz
Looking at bug 31196 for example, all comments in the bug have timestamps that show PDT, even for times when DST was not in effect in the Pacific time zone. For example, “ 2009-11-10 14:01:52 PDT”.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
mitz
Note that I filed this bug at 14:18 PST, but it shows 14:18 PDT.
David Kilzer (:ddkilzer)
This may have been fixed by <https://bugzilla.mozilla.org/show_bug.cgi?id=182238> in Bugzilla 3.4.
The code in question doing the formatting is Bugzilla::Util::format_time().
David Kilzer (:ddkilzer)
Actually, the timezone is hard-coded to "PDT" in the administration pages. That may be why it's showing up as PDT everywhere.
David Kilzer (:ddkilzer)
Changed the timezone to PST. It wouldn't let me change it to "PST8PDT", which is what you want if you want the software to determine whether it's daylight saving time or not and use it appropriately.
David Kilzer (:ddkilzer)
Note that Bugzilla isn't adjusting the timestamp based on the original date versus the currently desired timezone, so switching the default timezone for Bugzilla from PDT to PST doesn't actually change the timestamps. (Maybe that's what <https://bugzilla.mozilla.org/show_bug.cgi?id=182238> fixes in 3.4.)
I guess we'll wait until we upgrade to see if that fixes the issue.