1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00
phorge-phorge/webroot/rsrc
epriestley 2a00f185eb When the JS "Intl" API is available, use it to guess the timezone
Summary:
Ref T3025. Chrome gives us an easily-accessible, much better guess at which timezone the user is in.

Firefox also exposes "Intl" but this doesn't seem to be a reliable method to read the timezone.

Test Plan:
In Chrome, swapped my system date/time between zones, clicked the "reconcile" popup, got the dropdown prefilled accurately.

In Safari (no `Intl` API) got the normal flow with no default selected.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T3025

Differential Revision: https://secure.phabricator.com/D15962
2016-05-22 09:14:02 -07:00
..
css Move Tablet breakpoint from 768 -> 920 2016-05-21 12:11:27 -07:00
externals Provide an <input type="file"> control in Remarkup for mobile and users with esoteric windowing systems 2016-05-20 16:24:22 -07:00
favicons Add mask-icon for Safari pinned tab 2015-11-22 13:04:06 -08:00
image Polish up timeline for PHIUTwoColumnView 2016-03-08 17:51:53 -08:00
js When the JS "Intl" API is available, use it to guess the timezone 2016-05-22 09:14:02 -07:00