Skip to content

Commit

Permalink
Fixed incorrect time zone handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jclarke0000 committed Mar 7, 2021
1 parent 05a0fe2 commit d840f1f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions MMM-OpenWeatherForecast.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ Module.register("MMM-OpenWeatherForecast", {
}

var thisHour = this.weatherData.hourly[currentIndex];
thisHour.dt = thisHour.dt + timeZoneOffset;
// thisHour.dt = thisHour.dt + timeZoneOffset;

hourlies.push(this.forecastItemFactory(thisHour, "hourly"));

Expand All @@ -339,7 +339,7 @@ Module.register("MMM-OpenWeatherForecast", {
}

var thisDay = this.weatherData.daily[i];
thisDay.dt = thisDay.dt + timeZoneOffset;
// thisDay.dt = thisDay.dt + timeZoneOffset;

dailies.push(this.forecastItemFactory(thisDay, "daily"));
}
Expand Down
Binary file modified icons/.DS_Store
Binary file not shown.

0 comments on commit d840f1f

Please sign in to comment.