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

Method tzinfos

tests/test_parser.py:391–392  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

389 dstr = "2014 January 19 09:00 UTC"
390
391 def tzinfos(*args, **kwargs):
392 return "UTC+0"
393
394 expected = datetime(2014, 1, 19, 9, tzinfo=tz.tzstr("UTC+0"))
395 res = parse(dstr, tzinfos=tzinfos)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected