[senscritique] fix date parsing
This commit is contained in:
parent
2fc837a42f
commit
e29c57a516
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class Date(Filter):
|
|||
month = _date.month
|
||||
year = _date.year
|
||||
if day_number < _date.day:
|
||||
month = _date.month + 1
|
||||
month = _date.month%12 + 1
|
||||
if _date.month == 12:
|
||||
year = _date.year + 1
|
||||
_date = date(day=day_number, month=month, year=year)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue