summaryrefslogtreecommitdiff
path: root/docs/ref/settings.txt
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-05-21 20:45:39 +0200
committerGitHub <noreply@github.com>2020-05-21 20:45:39 +0200
commit643207efaebbff4e7c3ebcbf9ca49fb6197137e1 (patch)
tree00b55fc5b8e7b44da208917b4d4c060455ec46ec /docs/ref/settings.txt
parentc60524c658f197f645b638f9bcc553103bfe2630 (diff)
Fixed #31608 -- Doc'd that form ISO 8601 datetime parsing always retains tzinfo.
Diffstat (limited to 'docs/ref/settings.txt')
-rw-r--r--docs/ref/settings.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 46df532859..81d188fffc 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -2782,7 +2782,10 @@ Default: ``False``
A boolean that specifies if datetimes will be timezone-aware by default or not.
If this is set to ``True``, Django will use timezone-aware datetimes internally.
-Otherwise, Django will use naive datetimes in local time.
+
+When ``USE_TZ`` is False, Django will use naive datetimes in local time, except
+when parsing ISO 8601 formatted strings, where timezone information will always
+be retained if present.
See also :setting:`TIME_ZONE`, :setting:`USE_I18N` and :setting:`USE_L10N`.