Weather cards show incorrect day

In my weather integration forecast data, i have “datetime” field string like “2023-02-10”.
If i do

{{ strptime(state_attr("weather.home","forecast")[0].datetime, "%Y-%m-%d").strftime("%a") }}

My template shows “Fri”.
But on any weather card i add, the first forecast day is day before (Thu in this case).
My time zone is America/Vancouver, and seems like that cards use some incorrect time zone to parse date, because that day is changing to right one somewhere after 4PM (which is the time diff between Vancouver and Mainland China).

Is it something fixable?

Make sure all the settings here are correct: Settings → System → General.

Yup, everything is great there - time zone is -8, location of home zone is correct.

Are you in that zone now or are you travelling?

Is the date and time correct on the PC / laptop / tablet you are using to view Home Assistant?

Nope, not traveling. And yes, date/time/zone is correct. I see this incorrect day on laptop, phone and wall panel.
Even more - side to side there’s time card, and it shows correct day and time.

Which weather integration?

Open-meteo.

Other things were giving worse results for our location…

It appears it is a known issue: open_meteo time offset issue · Issue #79064 · home-assistant/core · GitHub

However they let that issue go stale and it has been closed. I suggest you open a new issue. You can link to the closed issue to show it is not just you but do provide as much detail as possible in the new issue as well.

Thank you for digging this out. I searched through open issues, that’s why couldn’t find anything I guess.
Will create new one.
Cheers!

For anyone coming here - I created issue Open Meteo (open_meteo) integration date parsing issue. · Issue #87899 · home-assistant/core · GitHub.