feat: scheduled task permission auto-accept and composer-style editor toggles

This commit is contained in:
Bohdan Triapitsyn
2026-07-20 23:07:01 +03:00
parent ac24d321f4
commit 0e47b388d5
17 changed files with 114 additions and 22 deletions
+14
View File
@@ -0,0 +1,14 @@
// Some ICU builds still expose pre-rename IANA timezone ids. Display (and
// persist going forward) the modern names.
const LEGACY_TIMEZONE_ALIASES: Record<string, string> = {
'Europe/Kiev': 'Europe/Kyiv',
'Asia/Calcutta': 'Asia/Kolkata',
'Asia/Saigon': 'Asia/Ho_Chi_Minh',
'Asia/Rangoon': 'Asia/Yangon',
'Asia/Katmandu': 'Asia/Kathmandu',
'America/Godthab': 'America/Nuuk',
'Atlantic/Faeroe': 'Atlantic/Faroe',
'Pacific/Enderbury': 'Pacific/Kanton',
};
export const canonicalizeTimezone = (timezone: string): string => LEGACY_TIMEZONE_ALIASES[timezone] ?? timezone;