[wp-trac] [WordPress Trac] #5337: Wrong timezone with comment_time
and the_time since DST ended
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 11 17:34:38 GMT 2007
#5337: Wrong timezone with comment_time and the_time since DST ended
---------------------+------------------------------------------------------
Reporter: jrawle | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3.2
Component: General | Version: 2.3.1
Severity: normal | Keywords:
---------------------+------------------------------------------------------
I am designing a theme where I want the current timezone to be displayed
after the time in comment and post timestamps. For example, I use <?php
comment_time() ?> with my default time format set to H:i T.
I am in the UK, and until the clocks changed on 28 October everything was
fine. Posts or comments written during a summer gave the time as e.g.
"14:00 BST" while those written in the winter said "13:00 GMT".
However, since BST ended, I now see "UTC" for all datestamps, irrespective
of whether they were posted during the summer or winter. So the two
examples given above would now show "14:00 UTC" and "13:00 UTC"
respectively, despite the fact that the first one is incorrect. I also
don't understand why it switched from using GMT to UTC.
I do not know whether this bug is present in other timezones.
--
Ticket URL: <http://trac.wordpress.org/ticket/5337>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list