diff options
| author | David Smith <smithdc@gmail.com> | 2021-07-30 13:41:35 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-08-06 13:00:24 +0200 |
| commit | 8208381ba6a3d1613bb746617062ccf1a6a28591 (patch) | |
| tree | 145fe30978bed72bb40b8a3fa99cdcaa6fc79227 /docs | |
| parent | ee46722cb9c860abec4d370adff052d0c1622d34 (diff) | |
Refs #32956 -- Corrected spelling of daylight saving time.
AP Stylebook: Saving not savings, no hyphen, and lowercase.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 4 | ||||
| -rw-r--r-- | docs/topics/i18n/timezones.txt | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index f81410b139..7363ad7079 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1401,8 +1401,8 @@ Format character Description Example output ``e`` Timezone name. Could be in any format, or might return an empty string, ``''``, ``'GMT'``, ``'-500'``, ``'US/Eastern'``, etc. depending on the datetime. -``I`` Daylight Savings Time, whether it's ``'1'`` or ``'0'`` - in effect or not. +``I`` Daylight saving time, whether it's in ``'1'`` or ``'0'`` + effect or not. ``O`` Difference to Greenwich time in hours. ``'+0200'`` ``T`` Time zone of this machine. ``'EST'``, ``'MDT'`` ``Z`` Time zone offset in seconds. The ``-43200`` to ``43200`` diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt index 69aac8c81e..847e5ff593 100644 --- a/docs/topics/i18n/timezones.txt +++ b/docs/topics/i18n/timezones.txt @@ -15,8 +15,8 @@ This is handy if your users live in more than one time zone and you want to display datetime information according to each user's wall clock. Even if your website is available in only one time zone, it's still good -practice to store data in UTC in your database. The main reason is Daylight -Saving Time (DST). Many countries have a system of DST, where clocks are moved +practice to store data in UTC in your database. The main reason is daylight +saving time (DST). Many countries have a system of DST, where clocks are moved forward in spring and backward in autumn. If you're working in local time, you're likely to encounter errors twice a year, when the transitions happen. (The pytz_ documentation discusses `these issues`_ in greater detail.) This @@ -481,7 +481,7 @@ Setup Yes. When time zone support is enabled, Django uses a more accurate model of local time. This shields you from subtle and unreproducible bugs around - Daylight Saving Time (DST) transitions. + daylight saving time (DST) transitions. When you enable time zone support, you'll encounter some errors because you're using naive datetimes where Django expects aware datetimes. Such |
