Skip to content

Commit

Permalink
Fixed time formatting in hourly forcast when imperial units are used …
Browse files Browse the repository at this point in the history
…(thanks to Ruricu for spotting this)
  • Loading branch information
jclarke0000 committed Aug 8, 2017
1 parent 39af54e commit 83ee34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-MyWeather.js
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ Module.register("MMM-MyWeather", {
} else {
this.tmm = forecast.qpf_allday.in + "in";
}
this.thour = hourlyforecast.FCTTIME.civil;
this.thour = hourlyforecast.FCTTIME.hour + ":00";
}

this.tthour = Number(hourlyforecast.FCTTIME.hour);
Expand Down

0 comments on commit 83ee34d

Please sign in to comment.