[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 22:42:07 GMT 2009


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

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.9 =>


Comment:

 Closing this ticket as invalid since current_time() appears to be doing
 the right thing and the proposed patches make use of strtotime(), which is
 subject to the default timezone setting.

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


More information about the wp-trac mailing list