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

Method parse_tzstr

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

Source from the content-addressed store, hash-verified

2709
2710 TZ = tz.tzstr('UTC+04')
2711 def parse_tzstr(tzstr):
2712 if tzstr is None:
2713 raise ValueError('Invalid tzstr')
2714
2715 return tz.tzstr(tzstr)
2716
2717 rr = rrulestr(rrstr, tzids=parse_tzstr)
2718

Callers 2

test_parse_tzstr_failsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected