[wp-trac] Re: [WordPress Trac] #5428: Updating Timestamp does not update GMT timestamp

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 6 17:36:43 GMT 2007

#5428: Updating Timestamp does not update GMT timestamp
 Reporter:  joeosowski  |        Owner:  pishmishy
     Type:  defect      |       Status:  assigned 
 Priority:  normal      |    Milestone:  2.5      
Component:  General     |      Version:           
 Severity:  normal      |   Resolution:           
 Keywords:              |  
Changes (by pishmishy):

  * owner:  anonymous => pishmishy
  * status:  new => assigned


 Have you recently changed the timezone offset? I believe that post_date
 contains the local time, (correct according to the offset when you made
 the post). post_date_gmt contains the the GMT time of the post as you'd

 So if on day 1 you're at GMT+3 and make a post at 12:00 then post_date_gmt
 = 15:00 post_date_gmt = 12:00 and then on day 2 you switch the offset to
 GMT+1 you'll still get 15:00 and 12:00. The alternative would be to
 retroactively change the time of the post to 13:00 which would be

 Does that explain how things work? If so I'll recommend closing as

Ticket URL: <http://trac.wordpress.org/ticket/5428#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list