From 1f813aacc3a7fb3b0957ce6d009d37c3d09b02c7 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Sat, 25 Apr 2026 16:41:15 +0200 Subject: [PATCH] timezone: only set the placeholder and not the value automatically because it is confusing Signed-off-by: Simon L. --- php/public/timezone.js | 2 +- php/templates/containers.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php/public/timezone.js b/php/public/timezone.js index b43bdfe7..cd926587 100644 --- a/php/public/timezone.js +++ b/php/public/timezone.js @@ -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 } }); diff --git a/php/templates/containers.twig b/php/templates/containers.twig index adfe3161..063e28ce 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -24,7 +24,7 @@ {# timezone-prefill #} - + {# js for optional containers and additional containers forms #}