[wp-trac] [WordPress Trac] #11558: timezone reset

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 22:11:41 UTC 2009


#11558: timezone reset
--------------------------+-------------------------------------------------
 Reporter:  bl968         |       Owner:                                
     Type:  defect (bug)  |      Status:  new                           
 Priority:  normal        |   Milestone:  2.9.1                         
Component:  Date/Time     |     Version:  2.9                           
 Severity:  major         |    Keywords:  timezone, reset, default value
--------------------------+-------------------------------------------------

Comment(by ryan):

 Patch removes Etc from the list of zones.  UTC and Manual Offset zones are
 added instead.  gmt_offset is mapped to one of the manual offset when
 displaying the dropdown.  When saving the options, the manual offset is
 mapped back to gmt_offset.  If timezone_string in the DB is set to an Etc
 zone, timezone_string is set to an empty string so that we fallback to
 gmt_offset.  We might also want to add some upgrade code that removes Etc
 zones when upgrading so that gmt_offset is used instead.

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


More information about the wp-trac mailing list