Module psycopg2.tz
tzinfo implementations for psycopg2
This module holds two different tzinfo implementations that can be used as
the 'tzinfo' argument to datetime constructors, directly passed to psycopg
functions or used to set the .tzinfo_factory attribute in cursors.
Variable Summary |
timedelta |
DSTDIFF = datetime.timedelta(0, 3600)
|
LocalTimezone |
LOCAL = <psycopg2.tz.LocalTimezone object at 0x00847090>
|
timedelta |
STDOFFSET = datetime.timedelta(0, 3600)
|
timedelta |
ZERO = datetime.timedelta(0)
|
DSTDIFF
-
- Type:
-
timedelta
- Value:
datetime.timedelta(0, 3600)
|
|
LOCAL
-
- Type:
-
LocalTimezone
- Value:
<psycopg2.tz.LocalTimezone object at 0x00847090>
|
|
STDOFFSET
-
- Type:
-
timedelta
- Value:
datetime.timedelta(0, 3600)
|
|
ZERO
-
- Type:
-
timedelta
- Value:
|