WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
31314
Timestamps in Bugzilla show PDT even for times when DST was not in effect
https://bugs.webkit.org/show_bug.cgi?id=31314
Summary
Timestamps in Bugzilla show PDT even for times when DST was not in effect
mitz
Reported
2009-11-10 14:18:34 PST
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
Comment 1
2009-11-10 14:19:23 PST
Note that I filed this bug at 14:18 PST, but it shows 14:18 PDT.
David Kilzer (:ddkilzer)
Comment 2
2009-11-10 14:30:21 PST
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)
Comment 3
2009-11-10 14:31:34 PST
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)
Comment 4
2009-11-10 14:34:00 PST
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)
Comment 5
2009-11-10 14:41:29 PST
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug