diff options
| author | Kristian Glass <git@doismellburning.co.uk> | 2014-08-22 12:24:46 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-22 11:40:04 -0400 |
| commit | 8aca08f82888ccc0aaf981c04ce7e5bcb4048d88 (patch) | |
| tree | fe010b3222d9297acb83f2843969344af266ad6e /docs | |
| parent | 7abb88a19cb18005d5607859743eab78bcd57375 (diff) | |
[1.7.x] Fixed #23342 -- Clarified warning about naive time objects.
Thanks to apollo13 for suggested wording.
Backport of b7336ec179 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/timezones.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt index ddb161de2b..7baa67310e 100644 --- a/docs/topics/i18n/timezones.txt +++ b/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: |
