Unlike a strict enum check against the typed Timezone list, this validates at runtime via
isValidTimezone (i.e. any valid IANA zone name). It therefore accepts valid IANA names
that aren't in the typed list, such as legacy aliases like 'America/Indianapolis' that some
environments (notably Safari) still report from Intl. The static type is string so that
timezone inputs are not restricted to the Timezone enum.
A shape for a timezone value.
Unlike a strict enum check against the typed Timezone list, this validates at runtime via isValidTimezone (i.e. any valid IANA zone name). It therefore accepts valid IANA names that aren't in the typed list, such as legacy aliases like
'America/Indianapolis'that some environments (notably Safari) still report fromIntl. The static type isstringso that timezone inputs are not restricted to the Timezone enum.