fix: show timezone in Localisation settings

Display the browser-detected timezone (e.g. Europe/Berlin) as a
read-only field in the Localisation settings tab.

v1.63.3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
mARTin 2026-03-24 10:38:39 +01:00
parent fb7484c357
commit c69a7d92a8
2 changed files with 27 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "my-weekly-todo-list",
"version": "1.63.2",
"version": "1.63.3",
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
"main": "index.js",
"scripts": {

View File

@ -12169,6 +12169,32 @@ function SettingsSidebar({
</select>
</div>
<div>
<label
style={{
display: "block",
fontSize: "0.9rem",
fontWeight: 600,
marginBottom: "4px",
}}
>
{t.timezone}
</label>
<div
style={{
padding: "8px",
fontSize: "0.9rem",
border: "1px solid var(--weekly-settings-input-border)",
borderRadius: "4px",
background: "var(--weekly-settings-input-bg)",
color: "var(--weekly-settings-text)",
opacity: 0.8,
}}
>
{Intl.DateTimeFormat().resolvedOptions().timeZone}
</div>
</div>
<div>
<label
style={{