mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
Fixed #23342 -- Clarified warning about naive time objects.
Thanks to apollo13 for suggested wording.
This commit is contained in:
committed by
Tim Graham
parent
14aff0bd82
commit
b7336ec179
@@ -102,7 +102,8 @@ should be aware too. In this mode, the example above becomes::
|
|||||||
lead to questionable usefulness".
|
lead to questionable usefulness".
|
||||||
|
|
||||||
Django only supports naive time objects and will raise an exception if you
|
Django only supports naive time objects and will raise an exception if you
|
||||||
attempt to save an aware time object.
|
attempt to save an aware time object, as a timezone for a time with no
|
||||||
|
associated date does not make sense.
|
||||||
|
|
||||||
.. _naive-datetime-objects:
|
.. _naive-datetime-objects:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user