1
0
mirror of https://github.com/django/django.git synced 2024-12-29 04:26:28 +00:00
django/docs/topics/i18n
Josh Smeaton e45ee72d69 [5.0.x] Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.
The timezone documentation for Postgres mentions the behavior of
time zone conversion, but links to the wrong setting that controls the
behavior.

Postgres will not return datetimes in the time zone set by the
TIME_ZONE setting, but rather the time zone of the database connection,
which is defined by DATABASES.TIME_ZONE setting falling back to UTC.

This corrects the link in the documentation and adds note that there
are two distinct TIME_ZONE settings and the one most are familiar with
is not considered for PostgreSQL time zone conversion.

Backport of 6e195b800a from main
2024-03-05 12:55:17 +01:00
..
formatting.txt
index.txt
timezones.txt [5.0.x] Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs. 2024-03-05 12:55:17 +01:00
translation.txt