[wp-trac] [WordPress Trac] #23384: Timezone Overwritten in wp-settings.php
WordPress Trac
noreply at wordpress.org
Tue Feb 5 00:19:51 UTC 2013
#23384: Timezone Overwritten in wp-settings.php
--------------------------+------------------------------
Reporter: sterfry68 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.5.1
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+------------------------------
Changes (by iandunn):
* status: new => closed
* resolution: => invalid
Comment:
That's right, as far as PHP is concerned, everything is UTC. It gets
converted to your local timezone at the WordPress layer, so make sure you
always use current_time() instead of date() or any other native PHP
function. See the Codex entry for current_time() for more details.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23384#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list