[wp-trac] [WordPress Trac] #9588: time() is not GMT time()

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 18:18:29 UTC 2009


#9588: time() is not GMT time()
--------------------------------+-------------------------------------------
  Reporter:  Denis-de-Bernardy  |        Type:  defect (bug)           
    Status:  reopened           |    Priority:  normal                 
 Milestone:  3.0                |   Component:  Date/Time              
   Version:  2.8                |    Severity:  normal                 
Resolution:                     |    Keywords:  has-patch needs-testing
--------------------------------+-------------------------------------------

Comment(by ryan):

 Patch tries gmdate('U') and incorporate patch from #11665.  Seems to work
 here, but still experimenting.

 If we get current_time() working reliably, we should use it everywhere
 instead of time() and friends.

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


More information about the wp-trac mailing list