Commit b2bbc59e authored by Bezleputh's avatar Bezleputh Committed by ntome

[meteofrance] fix #323

parent 367d9732
Pipeline #2747 canceled with stages
......@@ -61,7 +61,7 @@ class WeatherPage(HTMLPage):
if base_date.day > actual_day_number:
base_date = base_date.replace(
month=(
(base_date.month + 1) % 12
(base_date.month % 12) + 1
)
)
base_date = base_date.replace(day=actual_day_number)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment