MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _system_timezone

Function _system_timezone

tests/test_codecs.py:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def _system_timezone():
29 d = datetime.datetime.now(datetime.timezone.utc).astimezone()
30 return datetime.timezone(d.utcoffset())
31
32
33infinity_datetime = datetime.datetime(

Callers 1

test_codecs.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…