[wp-trac] [WordPress Trac] #44491: Date/time calculations should not depend on default UTC time zone

WordPress Trac noreply at wordpress.org
Thu Mar 7 10:28:51 UTC 2019


#44491: Date/time calculations should not depend on default UTC time zone
-------------------------+------------------------------
 Reporter:  Rarst        |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Date/Time    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by nielsdeblaauw):

 Looking at the current trunk version I see some uses of {{{getdate()}}}
 which also uses the local time (same as {{{date()}}}). See
 https://secure.php.net/manual/en/function.getdate.php

 We should probably add this to the list and investigate it's usage and
 alternatives.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44491#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list