analytics/lib/plausible_web/templates/site
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
..
membership Adds various dark mode missing styles (#1367) 2021-10-12 11:50:24 +02:00
edit_shared_link.html.eex Add unique index to shared link name 2021-04-14 11:45:45 +03:00
import_from_google_confirm.html.eex Make import date range look non-clickable 2022-04-11 19:09:39 +03:00
import_from_google_user_metric_form.html.eex Log import issue 2022-03-24 14:25:39 +02:00
import_from_google_view_id_form.html.eex Add error state when no data is returned from GA API 2022-06-02 14:40:52 +03:00
index.html.eex Truncate domain name 2021-12-20 16:07:25 +02:00
new_goal.html.eex Show custom event goal form by default 2022-06-21 11:34:01 +03:00
new_shared_link.html.eex Turn off form autocompletion for new shared links (#1175) 2021-07-13 14:11:42 +03:00
new.html.eex Fix timezone input (#2222) 2022-09-14 09:58:42 -03:00
settings_custom_domain.html.eex Update links to documents 2022-08-15 09:20:40 +08:00
settings_danger_zone.html.eex Typo (#502) 2020-12-23 10:42:56 +02:00
settings_email_reports.html.eex Update settings_email_reports.html.eex (#1486) 2021-11-24 10:47:53 +02:00
settings_general.html.eex Add feature flag for google analytics imports 2022-06-28 15:16:54 +03:00
settings_goals.html.eex Update links to documents 2022-08-15 09:20:40 +08:00
settings_people.html.eex Add rel="noreferrer" to links from self-hosted to our site 2021-10-26 10:26:43 +02:00
settings_search_console.html.eex Catch Google Search Console grant error (#2101) 2022-08-16 10:55:46 +03:00
settings_visibility.html.eex Update links to documents 2022-08-15 09:20:40 +08:00
snippet.html.eex Adds dark mode to entire dashboard (#467) 2020-12-16 11:57:28 +02:00