Skip to main contentModule timezone
Source - TzSpec
- extract_trailing_timezone
- extract_trailing_timezone_with_abbrevs
- Peel off a trailing timezone token from a date string, honoring custom abbreviations.
- finalize_datetime
- Apply parsed timezone + Settings (
TIMEZONE, TO_TIMEZONE, RETURN_AS_TIMEZONE_AWARE)
to produce the final ParsedDateTime. - parse_numeric_offset
- parse_tz_spec
- Resolve a timezone name, abbreviation, or numeric offset (e.g. “UTC”, “Europe/Istanbul”, “+03:00”, “EST”).
- parse_tz_spec_with_abbrevs
- Resolve a timezone name, abbreviation, or numeric offset checking custom overrides first.
- pop_tz_offset_from_string
- Equivalent of
dateparser.timezone_parser.pop_tz_offset_from_string.