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

Method gettz

tests/test_tz.py:870–872  ·  view source on GitHub ↗
(self, tzname)

Source from the content-addressed store, hash-verified

868 UTC = 'UTC'
869
870 def gettz(self, tzname):
871 # Actual time zone changes are handled by the _gettz_context function
872 return tz.tzlocal()
873
874 def _gettz_context(self, tzname):
875 tzname_map = {'Australia/Sydney': self.TZ_AEST,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected