Fix envcanada hourly forecast time (#3090)

Fixes #3080

---------

Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
Veeck
2023-04-09 19:23:44 +02:00
committed by GitHub
parent 77f9c86774
commit 4e3369062e
2 changed files with 3 additions and 1 deletions

View File

@@ -384,7 +384,7 @@ WeatherProvider.register("envcanada", {
const foreTime = moment(hourGroup[stepHour].getAttribute("dateTimeUTC"), "YYYYMMDDhhmmss");
const currTime = foreTime.add(hourOffset, "hours");
weather.date = moment.unix(currTime);
weather.date = moment(currTime);
// Capture the temperature