MCPcopy
hub / github.com/django/django / get_current_timezone_name

Function get_current_timezone_name

django/utils/timezone.py:69–71  ·  view source on GitHub ↗

Return the name of the currently active time zone.

()

Source from the content-addressed store, hash-verified

67
68
69def get_current_timezone_name():
70 """Return the name of the currently active time zone."""
71 return _get_timezone_name(get_current_timezone())
72
73
74def _get_timezone_name(timezone):

Callers 1

_i18n_cache_key_suffixFunction · 0.90

Calls 2

_get_timezone_nameFunction · 0.85
get_current_timezoneFunction · 0.85

Tested by

no test coverage detected