HEX
Server: Apache
System: Linux srv10.cpanelhost.cl 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
User: cco26461 (4967)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/opt/alt/python37/share/doc/alt-python37-psycopg2-2.8.4/doc/src/tz.rst
`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