bugsounet / MMM-MeteoFrance

MIT License
1 stars 2 forks source link

Fix broken module when the local time changes during daily forecasts. #48

Closed morian closed 1 week ago

morian commented 2 weeks ago

This patch aims to fix issue #47.

It replaces the whole Date processing using moment for daily forecasts. Processing is also simplified to avoid looping around the forecast data multiple time.

The selected time of the target day used for the daily forecast is no longer set to 12:00 but selected in the middle of forecast data.

bugsounet commented 1 week ago

Hi, thanks for this PR I have not think to this :)

I will test it before merging

morian commented 1 week ago

That was fast, thanks!