mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Fix envcanada hourly forecast time (#3090)
Fixes #3080 --------- Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
parent
77f9c86774
commit
4e3369062e
@ -27,6 +27,8 @@ _This release is scheduled to be released on 2023-07-01._
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fix envcanada hourly forecast time (#3080)
|
||||||
|
|
||||||
## [2.23.0] - 2023-04-04
|
## [2.23.0] - 2023-04-04
|
||||||
|
|
||||||
Thanks to: @angeldeejay, @buxxi, @CarJem, @dariom, @DaveChild, @dWoolridge, @grenagit, @Hirschberger, @KristjanESPERANTO, @MagMar94, @naveensrinivasan, @nfogal, @psieg, @rajniszp, @retroflex, @SkySails and @tomzt.
|
Thanks to: @angeldeejay, @buxxi, @CarJem, @dariom, @DaveChild, @dWoolridge, @grenagit, @Hirschberger, @KristjanESPERANTO, @MagMar94, @naveensrinivasan, @nfogal, @psieg, @rajniszp, @retroflex, @SkySails and @tomzt.
|
||||||
|
@ -384,7 +384,7 @@ WeatherProvider.register("envcanada", {
|
|||||||
|
|
||||||
const foreTime = moment(hourGroup[stepHour].getAttribute("dateTimeUTC"), "YYYYMMDDhhmmss");
|
const foreTime = moment(hourGroup[stepHour].getAttribute("dateTimeUTC"), "YYYYMMDDhhmmss");
|
||||||
const currTime = foreTime.add(hourOffset, "hours");
|
const currTime = foreTime.add(hourOffset, "hours");
|
||||||
weather.date = moment.unix(currTime);
|
weather.date = moment(currTime);
|
||||||
|
|
||||||
// Capture the temperature
|
// Capture the temperature
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user