2010-02-26 03:17:52 +03:00
|
|
|
`psycopg2.tz` -- ``tzinfo`` implementations for Psycopg 2
|
2010-02-09 07:58:28 +03:00
|
|
|
===============================================================
|
|
|
|
|
|
|
|
.. sectionauthor:: Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
|
|
|
|
|
|
|
.. module:: psycopg2.tz
|
|
|
|
|
|
|
|
This module holds two different tzinfo implementations that can be used as the
|
2011-02-19 19:16:28 +03:00
|
|
|
`tzinfo` argument to `~datetime.datetime` constructors, directly passed to
|
|
|
|
Psycopg functions or used to set the `cursor.tzinfo_factory` attribute in
|
2017-12-02 08:37:49 +03:00
|
|
|
cursors.
|
2010-02-09 07:58:28 +03:00
|
|
|
|
|
|
|
.. autoclass:: psycopg2.tz.FixedOffsetTimezone
|
|
|
|
|
|
|
|
.. autoclass:: psycopg2.tz.LocalTimezone
|