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

Making WordPress.org noreply at wordpress.org
Fri May 31 06:45:07 UTC 2019


#4480: Event API returns date/time information without timezone
-------------------------+---------------------
 Reporter:  Rarst        |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:
Component:  API          |  Resolution:
 Keywords:               |
-------------------------+---------------------
Changes (by dd32):

 * keywords:  reporter-feedback =>
 * priority:  normal => low


Comment:

 We do have an explicit UTC Offset in the Meetup response, but IIRC it's
 not entirely trustable other than to determine the local time of an event.
 WordCamp data also has no notion of a timezone, only dates.

 I think as a way forward we need to start a) storing the event times as
 UTC and b) storing an offset, we can then look at the data to work out if
 it's anywhere near reasonable for use, and can then start moving clients
 over to using some new date fields (Even though we might just end up
 returning a Local Date+Time and a UTC Offset field)

 I'm marking this as low, as it's working as intended - it was a deliberate
 design decision made at the time, but we do want to make it more
 reasonable.

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


More information about the wp-meta mailing list