Function mz_expr::scalar::func::parse_timezone
source ยท pub(crate) fn parse_timezone(
tz: &str,
spec: TimezoneSpec,
) -> Result<Timezone, EvalError>
Expand description
Parses a named timezone like EST
or America/New_York
, or a fixed-offset timezone like -05:00
.
The interpretation of fixed offsets depend on whether the POSIX or ISO 8601 standard is being used.