getTimeZones
Signature
Section titled “Signature”getTimeZones(): string[]import { getTimeZones } from "@northguild/gmt/zoned/get";Return the array of all available IANA timezone identifiers.
- Uses
Intl.supportedValuesOf('timeZone')to get the full list. - Returns
[]when the API is unavailable (older runtimes).
Returns
Section titled “Returns”array of IANA timezone identifier strings, or [] on failure
Examples
Section titled “Examples”getTimeZones() // ["America/New_York", "Europe/London", ...]getTimeZones().length // ~422 (varies by runtime/ICU)