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

Function _fixed_offset_zone

tests/test_tzfile.py:1378–1382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1376
1377
1378def _fixed_offset_zone():
1379 STD = ZoneOffset("STD", -5 * ONE_H)
1380 return tz.tzfile(
1381 construct_zone([ZoneTransition(datetime(2020, 1, 1), STD, STD)], "STD5")
1382 )
1383
1384
1385@pytest.mark.parametrize(

Calls 3

ZoneOffsetClass · 0.85
construct_zoneFunction · 0.85
ZoneTransitionClass · 0.85

Tested by

no test coverage detected