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

Method get_current_tz

tests/_common.py:244–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242 _guard_allows_change = False
243
244 def get_current_tz(self):
245 return os.environ.get('TZ', UnsetTz)
246
247 def set_current_tz(self, tzval):
248 if tzval is UnsetTz and 'TZ' in os.environ:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected