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

Method _force_utc0

core/apps.py:31–32  ·  view source on GitHub ↗
(sender, connection, **kwargs)

Source from the content-addressed store, hash-verified

29 from django.db.backends.signals import connection_created
30
31 def _force_utc0(sender, connection, **kwargs):
32 connection.cursor().execute("SET TIME ZONE 'UTC0'")
33
34 connection_created.connect(_force_utc0, dispatch_uid='force_db_utc0')
35

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected