mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Issue #2221
This commit is contained in:
parent
c675421a6a
commit
85b6df3738
@ -374,7 +374,7 @@ Module.register("weatherforecast", {
|
||||
hour = moment(forecast.dt_txt, "YYYY-MM-DD hh:mm:ss").toDate().getHours();
|
||||
} else {
|
||||
day = moment(forecast.dt, "X").format("ddd");
|
||||
hour = moment(forecast.dt, "X").format("H");
|
||||
hour = moment(forecast.dt, "X").toDate().getHours();
|
||||
}
|
||||
|
||||
if (day !== lastDay) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user