mirror of
https://github.com/django/django.git
synced 2025-09-19 17:00:06 +00:00
Removed unused variables that are overwritten.
This commit is contained in:
parent
5890d6ab03
commit
ebf34c3cdc
12 changed files with 4 additions and 16 deletions
|
@ -324,7 +324,6 @@ class DateFormat(TimeFormat):
|
|||
def W(self):
|
||||
"ISO-8601 week number of year, weeks starting on Monday"
|
||||
# Algorithm from http://www.personal.ecu.edu/mccartyr/ISOwdALG.txt
|
||||
week_number = None
|
||||
jan1_weekday = self.data.replace(month=1, day=1).weekday() + 1
|
||||
weekday = self.data.weekday() + 1
|
||||
day_of_year = self.z()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue