From 19205eaaed0a3d8d0f7183e64e8d0b89defd9367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 17 Feb 2025 22:31:09 +0100 Subject: [PATCH] chg: Avoid autocomplete password in capture form --- website/web/__init__.py | 2 +- website/web/templates/capture.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/web/__init__.py b/website/web/__init__.py index 5f0f66f2..8aaf354d 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -284,7 +284,7 @@ def get_icon(icon_id: str) -> Icon | None: all_timezones_set: dict[str, str] = {} for tzname in sorted(available_timezones()): if offset := ZoneInfo(tzname).utcoffset(datetime.now(timezone.utc)): - all_timezones_set[tzname] = f"{offset.total_seconds() / (60 * 60):+06.2f}" + all_timezones_set[tzname] = f"UTC{offset.total_seconds() / (60 * 60):+06.2f}" def get_tz_info() -> tuple[str | None, str, dict[str, str]]: diff --git a/website/web/templates/capture.html b/website/web/templates/capture.html index b1561c8c..a42641eb 100644 --- a/website/web/templates/capture.html +++ b/website/web/templates/capture.html @@ -389,11 +389,11 @@ {% for tz, offset in all_timezones.items() %} - + {%endfor%} @@ -459,7 +459,7 @@
Password
- +