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

WordPress Trac noreply at wordpress.org
Mon Sep 21 15:46:36 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):

 > In my mind timezone abbreviations are something that is used in US and
 UK, but not in central Europe for example

 Ah, great point. Maybe we should use an I18n'd string to let translators
 pick which one, then? e.g.,

 {{{#!php
 /* translators: Do not translate. Set either `abbreviation` or `offset`,
 in English. This determines if the Events Widget shows timezone
 abbreviations or offsets. Pick whichever is most common in your locale. */
 if ( 'abbreviation' === __( 'events-widget-timezone-display' ) ) {
     // show the timezone abbreviation
 } else {
     // show the UTC offset
 }
 }}}

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


More information about the wp-trac mailing list