Fixed typo in 4.0 release notes.

This commit is contained in:
Jero Bado 2021-09-22 19:19:20 +08:00 committed by Carlton Gibson
parent 48924966e2
commit 3f2170f720
1 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ current timezone, conversion of datetime instances to the current timezone in
forms and templates, as well as operations on aware datetimes in UTC are
unaffected.
However, if you are you are working with non-UTC time zones, and using the
``pytz`` ``normalize()`` and ``localize()`` APIs, possibly with the
:setting:`TIME_ZONE <DATABASE-TIME_ZONE>` setting, you will need to audit your
code, since ``pytz`` and ``zoneinfo`` are not entirely equivalent.
However, if you are working with non-UTC time zones, and using the ``pytz``
``normalize()`` and ``localize()`` APIs, possibly with the :setting:`TIME_ZONE
<DATABASE-TIME_ZONE>` setting, you will need to audit your code, since ``pytz``
and ``zoneinfo`` are not entirely equivalent.
To give time for such an audit, the transitional :setting:`USE_DEPRECATED_PYTZ`
setting allows continued use of ``pytz`` during the 4.x release cycle. This