[wp-trac] Re: [WordPress Trac] #8662: current_time('timestamp') doesn't return the correct timestamp value

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 19:08:54 GMT 2009


#8662: current_time('timestamp') doesn't return the correct timestamp value
--------------------------+-------------------------------------------------
 Reporter:  hudatoriq     |       Owner:  hudatoriq              
     Type:  defect (bug)  |      Status:  new                    
 Priority:  high          |   Milestone:  2.9                    
Component:  Date/Time     |     Version:  2.7                    
 Severity:  major         |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  needs-patch needs-testing => has-patch needs-testing


Comment:

 Well... the mysql gmtime is erroneous too (which is why I added
 8662.diff).

 Trouble is, this is devastatingly bug prone if, in the WP internals,
 server time vs gmtime diffs are worked out on the fly, as you seem to have
 suggested in #9588.

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


More information about the wp-trac mailing list