summaryrefslogtreecommitdiff
path: root/django/utils/dateformat.py
diff options
context:
space:
mode:
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 2fe6760a88..27413a2e67 100644
--- a/django/utils/dateformat.py
+++ b/django/utils/dateformat.py
@@ -267,7 +267,7 @@ class DateFormat(TimeFormat):
def S(self):
"English ordinal suffix for the day of the month, 2 characters; i.e. 'st', 'nd', 'rd' or 'th'"
- if self.data.day in (11, 12, 13): # Special case
+ if self.data.day in (11, 12, 13): # Special case
return 'th'
last = self.data.day % 10
if last == 1: