MCPcopy Create free account
hub / github.com/dateutil/dateutil / parse_tzstr

Method parse_tzstr

tests/test_rrule.py:2704–2708  ·  view source on GitHub ↗
(tzstr)

Source from the content-addressed store, hash-verified

2702
2703 TZ = tz.tzstr('UTC+04')
2704 def parse_tzstr(tzstr):
2705 if tzstr is None:
2706 raise ValueError('Invalid tzstr')
2707
2708 return tz.tzstr(tzstr)
2709
2710 rr = rrulestr(rrstr, tzids=parse_tzstr)
2711

Callers 2

test_parse_tzstr_failsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected