[wp-trac] [WordPress Trac] #25555: get_comment_time('c') uses UTC timezone only
WordPress Trac
noreply at wordpress.org
Fri Oct 11 10:54:48 UTC 2013
#25555: get_comment_time('c') uses UTC timezone only
--------------------------+-----------------------
Reporter: raubvogel | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Date/Time | Version: 3.6.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------
Comment (by raubvogel):
Another easy test shows that there is something wrong: in the admin area
goto Settings -> General -> Date Format -> Custom and type "c" (without
""). Then Save Changes. Output in the date preview next to the Custom
field is like 2013-10-11T12:48:05+00:00. The time zone part "+00:00" is
wrong; has to be "+02:00" for my time zone (Berlin). Date and time part
are adjusted correctly according the time zone.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25555#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list