[wp-trac] [WordPress Trac] #51130: Events displayed in venue timezone instead of user's
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Sep 21 18:33:02 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):
 I've updated the PR to show the localized abbreviation 👍🏻
 ----
 Note to self:
 To manually test abbreviations and timezones on OS X, open the browser
 with overridden environment variables:
 `TZ="Europe/Helsinki" open /Applications/FirefoxDeveloperEdition.app`
 To verify: `console.log( Intl.DateTimeFormat().resolvedOptions().timeZone
 );`
 You don't need to change the OS/browser locale, because (I'm guessing) the
 timezone shortname is pulled from
 [https://en.wikipedia.org/wiki/Tz_database tzdata], rather than locale
 data.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51130#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list