[wp-trac] [WordPress Trac] #10660: Time zone suggester based on nascent WordPress.org API call

WordPress Trac noreply at wordpress.org
Mon Jun 13 05:35:04 UTC 2016


#10660: Time zone suggester based on nascent WordPress.org API call
--------------------------------------+-----------------------------
 Reporter:  sambauers                 |       Owner:  rmccue
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  Future Release
Component:  Date/Time                 |     Version:  2.8.4
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+-----------------------------

Comment (by Otto42):

 Sad to say that an 11+ K script (after minification) is currently the best
 option for browser side detection. Still seems to have quite a few issues
 though, several in their list involve it giving different answers on
 different browsers.

 https://bitbucket.org/pellepim/jstimezonedetect

 It's worth noting that the current WP code basically outputs all the
 timezones PHP knows about, including historical ones. It might be worth
 trimming that down to only modern timezones, in the same way that the
 library above does. Looks like they're only including 72 current
 timezones, approximately.

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


More information about the wp-trac mailing list