/** Every IANA zone the browser knows; the current one is kept even when the browser lacks it. */ export function timeZones(current) { let zones = [] try { zones = Intl.supportedValuesOf('timeZone') } catch { zones = [] } if (current && !zones.includes(current)) zones = [current, ...zones] return zones } /** The browser's own zone (for the setup wizard's default), or Europe/Athens. */ export function browserTimeZone() { try { return Intl.DateTimeFormat().resolvedOptions().timeZone || 'Europe/Athens' } catch { return 'Europe/Athens' } }