mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Correct flake8 violation E261
This commit is contained in:
parent
b44d42be6d
commit
dcfc8fa972
18 changed files with 59 additions and 59 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue