[wp-trac] [WordPress Trac] #51130: Events displayed in venue timezone instead of user's

WordPress Trac noreply at wordpress.org
Mon Sep 21 16:50:26 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:  Date/Time                 |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by iandunn):

 Yeah, I've seen Core do it in other places, but I agree it'd be nice if
 there were a more elegant way.

 I don't think there's any way to get it via the locale/tz info available
 via JavaScript. There may be some other canonical source, though. I'll see
 what I can find.

 Or we could just use the UTC offset for simplicity, if that's what's most
 common around the world.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51130#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list