mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-13 04:26:33 +03:00
19 lines
603 B
ReStructuredText
19 lines
603 B
ReStructuredText
: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
|
|
:obj:`tzinfo` argument to datetime constructors, directly passed to Psycopg
|
|
functions or used to set the :attr:`cursor.tzinfo_factory` attribute in
|
|
cursors.
|
|
|
|
.. todo:: should say something more about tz handling
|
|
|
|
.. autoclass:: psycopg2.tz.FixedOffsetTimezone
|
|
|
|
.. autoclass:: psycopg2.tz.LocalTimezone
|
|
|