[wp-meta] [Making WordPress.org] #4480: Event API returns date/time information without timezone

Making WordPress.org noreply at wordpress.org
Wed Sep 16 18:17:02 UTC 2020


#4480: Event API returns date/time information without timezone
-------------------------+----------------------
 Reporter:  Rarst        |       Owner:  iandunn
     Type:  enhancement  |      Status:  closed
 Priority:  high         |   Milestone:
Component:  Events API   |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by iandunn):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10270" 10270]:
 {{{
 #!CommitTicketReference repository="" revision="10270"
 Events: Add `start_unix_timestamp` and `end_unix_timestamp` fields.

 The `date` and `end_date` fields are WP timestamps which reflect the
 event's local timezone. True Unix timestamps are needed for the Events
 Widget to display events in the user's local timezone.

 Fixes #4480
 See #core51130
 Props Rarst, dd32, iandunn
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4480#comment:22>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list