Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ _This release is scheduled to be released on 2023-04-01._

### Fixed

- Fix wrong day labels in envcanada forecast (#2987)

## [2.22.0] - 2023-01-01

Thanks to: @angeldeejay, @buxxi, @dariom, @dWoolridge, @KristjanESPERANTO, @MagMar94, @naveensrinivasan, @retroflex, @SkySails and @Tom.
Expand Down
2 changes: 1 addition & 1 deletion modules/default/weather/providers/envcanada.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ WeatherProvider.register("envcanada", {
// Add 1 to the date to reflect the current forecast day we are building

lastDate = lastDate.add(1, "day");
weather.date = moment.unix(lastDate);
weather.date = moment(lastDate);

// Capture the temperatures for the current Element and the next Element in order to set
// the Min and Max temperatures for the forecast
Expand Down