pub(crate) fn string_to_datetime_formatted<T: TimeZone>(
timezone: &T,
s: &str,
format: &str,
) -> Result<DateTime<T>, DataFusionError>Expand description
Accepts a string and parses it using the chrono::format::strftime specifiers
relative to the provided timezone
IANA timezones are only supported if the arrow-array/chrono-tz feature is enabled
2023-01-01 040506 America/Los_Angeles
If a timestamp is ambiguous, for example as a result of daylight-savings time, an error will be returned