[wp-trac] [WordPress Trac] #23384: Timezone Overwritten in wp-settings.php

WordPress Trac noreply at wordpress.org
Tue Feb 5 02:21:10 UTC 2013


#23384: Timezone Overwritten in wp-settings.php
--------------------------+----------------------
 Reporter:  sterfry68     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Date/Time     |     Version:  3.5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------

Comment (by rmccue):

 FWIW, if you really want to use DateTime, you can pass in a DateTimeZone
 object and use `get_option('timezone_string')` to get the local timezone
 for that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23384#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list