[wp-trac] [WordPress Trac] #43269: Get_The_Date return incorrect Unix Timestamp

WordPress Trac noreply at wordpress.org
Fri Feb 9 17:03:31 UTC 2018


#43269: Get_The_Date return incorrect Unix Timestamp
--------------------------+------------------------------
 Reporter:  szarcensky    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by soulseekah):

 Other suggestions that spring to mind:

 1. We could limit the parameter to non-timezone-related ones.
 2. Use `post_date_gmt` and supply the timezone, which when formatted
 accordingly, will always work correctly.

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


More information about the wp-trac mailing list