[wp-trac] [WordPress Trac] #48976: Current_time

WordPress Trac noreply at wordpress.org
Mon Dec 16 12:26:34 UTC 2019


#48976: Current_time
-------------------------------+------------------------------
 Reporter:  autotutorial       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Date/Time          |     Version:  5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by Rarst):

 `new DateTime( 'now', 'Europe/Berlin')` is wrong because DateTime
 constructor does not accept time zone as string.

 I don't see how this relates to core code?

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


More information about the wp-trac mailing list