summaryrefslogtreecommitdiff
path: root/django/utils/dateformat.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2021-07-30 13:41:35 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-08-06 13:00:24 +0200
commit8208381ba6a3d1613bb746617062ccf1a6a28591 (patch)
tree145fe30978bed72bb40b8a3fa99cdcaa6fc79227 /django/utils/dateformat.py
parentee46722cb9c860abec4d370adff052d0c1622d34 (diff)
Refs #32956 -- Corrected spelling of daylight saving time.
AP Stylebook: Saving not savings, no hyphen, and lowercase.
Diffstat (limited to 'django/utils/dateformat.py')
-rw-r--r--django/utils/dateformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py
index 066a551707..a03b127785 100644
--- a/django/utils/dateformat.py
+++ b/django/utils/dateformat.py
@@ -220,7 +220,7 @@ class DateFormat(TimeFormat):
return MONTHS[self.data.month]
def I(self): # NOQA: E743, E741
- "'1' if Daylight Savings Time, '0' otherwise."
+ "'1' if daylight saving time, '0' otherwise."
if self._no_timezone_or_datetime_is_ambiguous_or_imaginary:
return ''
return '1' if self.timezone.dst(self.data) else '0'