mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 02:13:44 +03:00
e335d6d223
Many editors automatically trim whitespace on save. By trimming all files in one go, makes future diffs cleaner without extraneous whitespace changes.
16 lines
542 B
ReStructuredText
16 lines
542 B
ReStructuredText
`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
|
|
`tzinfo` argument to `~datetime.datetime` constructors, directly passed to
|
|
Psycopg functions or used to set the `cursor.tzinfo_factory` attribute in
|
|
cursors.
|
|
|
|
.. autoclass:: psycopg2.tz.FixedOffsetTimezone
|
|
|
|
.. autoclass:: psycopg2.tz.LocalTimezone
|