Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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):
Callers
5
create_or_update_periodic_task
Function · 0.80
sync_recurring_rule_impl
Function · 0.80
create_backup
Function · 0.80
test_periodic_task_uses_system_timezone
Method · 0.80
test_periodic_task_timezone_updates_with_schedule
Method · 0.80
Calls
2
get_system_settings
Method · 0.80
get
Method · 0.45
Tested by
2
test_periodic_task_uses_system_timezone
Method · 0.64
test_periodic_task_timezone_updates_with_schedule
Method · 0.64