()
| 23 | |
| 24 | /** The IANA timezone the current runtime resolves to (e.g. `America/New_York`). */ |
| 25 | export function getBrowserTimezone(): string { |
| 26 | return Intl.DateTimeFormat().resolvedOptions().timeZone |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Every IANA timezone identifier the runtime knows, for populating a picker; |
no outgoing calls
no test coverage detected