fix: set lang=en-GB on html root to force dd/mm/yyyy and 24h inputs

The previous fix updated JavaScript date formatting functions to use
en-GB locale, but native <input type="date"> and <input type="datetime-local">
elements render their placeholder/display format based on the HTML
document's lang attribute, not JavaScript. Changing lang="en" to
lang="en-GB" on the root <html> element fixes all 15+ date/time
inputs across the app in one place.
This commit is contained in:
2026-03-06 14:50:50 +00:00
parent 370a50dcb2
commit 52299c1ff2

View File

@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" data-theme="">
<html lang="en-GB" data-theme="">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />