[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:12:15 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
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Oh, part of the reason you might be seeing wp_current_time.diff as right
 might have a lot to do with it too. Since server times are used all over
 in WP internals, where its says GMT times in the docs, then surely not
 fixing the GMT time makes sense. :-)

 the thing to look into is that current_time(timestamp, true) isn't or is
 barely used, as a matter of fact.

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


More information about the wp-trac mailing list