Closed ilia-butovskii closed 4 months ago
Describe the bug Timezone 'CST' is unsupported in Firefox browser, but it works in Safari, Chrome and Node
To Reproduce In Firefox
DateTime.local().setZone('CST').toISODate()
or
DateTime.fromISO('2024-02-09', { zone: 'CST' }).toISODate()
Actual Throws error Error: Invalid DateTime: unsupported zone: the zone "CST" is not supported
Error: Invalid DateTime: unsupported zone: the zone "CST" is not supported
Expected Set UTC−06:00 timezone
Desktop (please complete the following information):
new Intl.DateTimeFormat('de', {timeZone: 'CST'}).format() throws the same exception. You will have to speak to the Firefox developers about this.
new Intl.DateTimeFormat('de', {timeZone: 'CST'}).format()
Describe the bug Timezone 'CST' is unsupported in Firefox browser, but it works in Safari, Chrome and Node
To Reproduce In Firefox
or
Actual Throws error
Error: Invalid DateTime: unsupported zone: the zone "CST" is not supported
Expected Set UTC−06:00 timezone
Desktop (please complete the following information):