analytics/test
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
2022-09-14 09:58:42 -03:00
..
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Fix timezone input (#2222) 2022-09-14 09:58:42 -03:00
plausible_web List all Google Analytics views during import (#2184) 2022-09-08 21:02:17 +03:00
support Refactor event struct creation function (#2098) 2022-08-16 14:43:10 +03:00
workers Mark more tests as async 2022-05-06 10:30:38 +03:00
test_helper.exs Add feature flag to block event ingest (#1991) 2022-07-06 12:25:40 +03:00