소스 검색

Fixed #23342 -- Clarified warning about naive time objects.

Thanks to apollo13 for suggested wording.
Kristian Glass 10 년 전
부모
커밋
b7336ec179
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/topics/i18n/timezones.txt

+ 2 - 1
docs/topics/i18n/timezones.txt

@@ -102,7 +102,8 @@ should be aware too. In this mode, the example above becomes::
     lead to questionable usefulness".
 
     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: