[wp-meta] [Making WordPress.org] #4480: Event API returns date/time information without timezone
Making WordPress.org
noreply at wordpress.org
Tue May 28 11:29:23 UTC 2019
#4480: Event API returns date/time information without timezone
-------------------------+--------------------
Reporter: Rarst | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: API | Keywords:
-------------------------+--------------------
API responses for events have local date and time without timezone, e.g.
`"date": "2019-06-18 19:00:00"`.
This causes very confusing core code logic for processing them and makes
it hard to make use of it in general.
I would strongly encourage to add a field with a fully parseable,
meaningful, and timezoned data, e.g. `"date-rfc3339":
"2019-06-18T19:00:00+02:00"`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4480>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list