MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / get_system_time_zone

Method get_system_time_zone

core/models.py:415–416  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

413
414 @classmethod
415 def get_system_time_zone(cls):
416 return cls.get_system_settings().get("time_zone") or getattr(settings, "TIME_ZONE", "UTC") or "UTC"
417
418 @classmethod
419 def set_system_time_zone(cls, tz_name: str | None):

Calls 2

get_system_settingsMethod · 0.80
getMethod · 0.45