2010-02-09 07:58:28 +03:00
|
|
|
:mod:`psycopg2.tz` -- ``tzinfo`` implementations for Psycopg 2
|
|
|
|
===============================================================
|
|
|
|
|
|
|
|
.. sectionauthor:: Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
|
|
|
|
|
|
|
.. module:: psycopg2.tz
|
|
|
|
|
|
|
|
This module holds two different tzinfo implementations that can be used as the
|
2010-02-13 06:22:02 +03:00
|
|
|
:obj:`tzinfo` argument to datetime constructors, directly passed to Psycopg
|
2010-02-09 07:58:28 +03:00
|
|
|
functions or used to set the :attr:`cursor.tzinfo_factory` attribute in
|
|
|
|
cursors.
|
|
|
|
|
2010-02-13 06:22:02 +03:00
|
|
|
.. todo:: should say something more about tz handling
|
2010-02-09 07:58:28 +03:00
|
|
|
|
|
|
|
.. autoclass:: psycopg2.tz.FixedOffsetTimezone
|
|
|
|
|
|
|
|
.. autoclass:: psycopg2.tz.LocalTimezone
|
|
|
|
|