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

Method gettz

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

Source from the content-addressed store, hash-verified

875 UTC = 'UTC'
876
877 def gettz(self, tzname):
878 # Actual time zone changes are handled by the _gettz_context function
879 return tz.tzlocal()
880
881 def _gettz_context(self, tzname):
882 tzname_map = {'Australia/Sydney': self.TZ_AEST,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected