timezone: only set the placeholder and not the value automatically because it is confusing

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-04-25 16:41:15 +02:00
parent 670e38969c
commit 1f813aacc3
2 changed files with 2 additions and 2 deletions

View File

@@ -2,6 +2,6 @@ document.addEventListener("DOMContentLoaded", function(event) {
// timezone
let timezone = document.getElementById("timezone");
if (timezone) {
timezone.value = Intl.DateTimeFormat().resolvedOptions().timeZone
timezone.placeholder = Intl.DateTimeFormat().resolvedOptions().timeZone
}
});

View File

@@ -24,7 +24,7 @@
<script type="text/javascript" src="second-tab-warning.js"></script>
{# timezone-prefill #}
<script type="text/javascript" src="timezone.js"></script>
<script type="text/javascript" src="timezone.js?v1"></script>
{# js for optional containers and additional containers forms #}
<script type="text/javascript" src="containers-form-submit.js?v7"></script>