[wp-meta] [Making WordPress.org] #4480: Event API returns date/time information without timezone
Making WordPress.org
noreply at wordpress.org
Tue Aug 25 00:37:40 UTC 2020
#4480: Event API returns date/time information without timezone
-------------------------+-----------------------
Reporter: Rarst | Owner: iandunn
Type: enhancement | Status: accepted
Priority: high | Milestone:
Component: Events API | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by iandunn):
[attachment:"4480.diff"] is a WIP that adds `date_utc` and `end_date_utc`
fields to the response, with Unix timestamps. The local `date` and
`end_date` fields are left, for back-compat.
I played around w/ using RFC3339, because I agree it's more correct for
future dates. In this context, though, it doesn't seem likely to make an
impact, and it seemed to add extra complexity between the different data
sources, syncing, converting, etc.
I agree that greenfield code should use it, though.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4480#comment:13>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list