You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible
Vinicius Brasil 178e34b9e7
Fix timezone input (#2222)
* Update Timex version from 3.7.7 to 3.7.8

* Generate timezone list from Tzdata

This commit fixes a bug where timezone changes weren't updating the
timezone list displayed when editing or creating a site.

Timezones were being pulled from a static list. This commit changes it
to generate the list from Tzdata, that uses a timezone database with
updated information on time changes. Additionally it adds more timezones
with aliases and links to the list.

Closes #1340

* Use timezone name from browser to recommend timezone

This commit matches the timezone name instead of offset to recommend a
timezone when creating a new site. The JavaScript Intl.DateTimeFormat
API is widely supported according to the link. In any case, if the
timezone fails to match by name, it fallbacks to the offset strategy.

https://caniuse.com/mdn-javascript_builtins_intl_datetimeformat_resolvedoptions_computed_timezone

Closes #904
4 years ago
..
auth Mark more tests as async 5 years ago
billing Mark more tests as async 5 years ago
google Add fallback for GA reports without rows (#2121) 4 years ago
imported Do not assume any order in browser data import test 4 years ago
ingestion Refactor event struct creation function (#2098) 4 years ago
session Use new Session.CacheStore in favour of Session.Store (#1934) 5 years ago
site Mark more tests as async 5 years ago
stats Fix typos (#1829) 5 years ago
http_client_test.exs Fixup error reporting (ref #2181) (#2204) 4 years ago
timezones_test.exs Fix timezone input (#2222) 4 years ago