diff options
| author | Mads Jensen <mje@inducks.org> | 2017-01-25 15:14:05 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-25 09:14:05 -0500 |
| commit | ebf34c3cdcd2c75349c60a064427ac255958bf9b (patch) | |
| tree | 7d6289bf88b5c9dc8ccb5b7c245d6cc46c005dd0 /django/utils/dateformat.py | |
| parent | 5890d6ab03ebc7dac46ce7d9540b5768785caa34 (diff) | |
Removed unused variables that are overwritten.
Diffstat (limited to 'django/utils/dateformat.py')
| -rw-r--r-- | django/utils/dateformat.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index f55b97c2ed..67968e5d73 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -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() |
