Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/triggers / cron / isValidTimeZone
Function: isValidTimeZone()
ts
function isValidTimeZone(timeZone): boolean;Defined in: packages/triggers/src/cron.ts:273
true when timeZone is an IANA zone name this runtime's Intl data resolves. The cron(...) helper uses it for eager validation so a typo fails at registration time, never at first fire.
Parameters
| Parameter | Type |
|---|---|
timeZone | string |
Returns
boolean