Skip to content

Weather module using Environment Canada, days are reversed.. but not weather information! #2987

@etrefal

Description

@etrefal

Platform: Raspberry Pi 3 on Raspbian Buster
Node version: v16.19.0
MagicMirror version: 2.22.0

Description: I use the weather module with Environment Canada as provider. It always worked well, until today when I noticed that the day names are reversed. The weather information is not reversed though. I have attached two screenshots - one is the MagicMirror display, the other is the Environment Canada webpage. Note that these are in french. The day names displayed on the MagicMirror are "Aujourd'hui" (Today) - which is a monday), "Demain" (Tomorrow), then "sam." (Saturday), "ven." (Friday), "jeu." (Thursday) and then "mer." (Wednesday). These should be "Aujourd'hui, Demain, mer., jeu., ven. and sam."

Note that the weather information is correct. The weather forecast is in the correct order when you compare to the Environment Canada screenshot.

I did upgrade MagicMirror to the latest version yesterday afternoon. But I only noticed the error a few minutes ago.

Configuration: My edited config.js file is also attached... but does not appear. Here is the relevant info:

{
module: "weather",
position: "top_left", // This can be any of the regions.
// Best results in left or right regions.
config: {
weatherProvider: "envcanada",
siteCode: "xxxxxxx",
provCode: "xx",
location: "xxxxx, xx",
type: "forecast",
locationID: "",
showPrecipitationAmount: "true", // Ne fonctionne pas?
colored: "true",
tableClass: "medium",
maxNumberOfDays: 7
}

Screenshot from 2023-01-02 13-19-35

Screenshot from 2023-01-02 12-56-02

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions