[wp-trac] [WordPress Trac] #31809: get_date_from_gmt returns time=zero when timezone is not set

WordPress Trac noreply at wordpress.org
Thu Aug 6 09:32:56 UTC 2015


#31809: get_date_from_gmt returns time=zero when timezone is not set
----------------------------+------------------------------
 Reporter:  goodevilgenius  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Date/Time       |     Version:  3.6
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by owencutajar):

 I get the same issue when timezone is set to UTC+0 .. function returns
 Thu, 01 Jan 1970 00:00:00 +0000 instead of current time.

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


More information about the wp-trac mailing list