[wp-trac] [WordPress Trac] #51130: Events displayed in venue timezone instead of user's
WordPress Trac
noreply at wordpress.org
Tue Aug 25 00:27:35 UTC 2020
#51130: Events displayed in venue timezone instead of user's
----------------------------+-----------------------------
Reporter: iandunn | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
#meta4480 describes how the Events API returns data as a "WP timestamp"
(Unix timestamp + UTC offset), rather than a true Unix timestamp, which is
always UTC.
Because of that, events are displayed in the ''venue's'' timezone, rather
than the ''user's''. That's usually accurate for in-person events, but
usually ''inaccurate'' for online events, where attendees can be located
in any timezone.
Once the API starts returning a proper Unix timestamp, Core should update
the widget to display events in the current user's timezone.
cc @rarst, @dd32
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51130>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list