mlamberts78 / weather-chart-card

Custom weather card with charts.
MIT License
313 stars 39 forks source link

Day chart off by one day. #267

Open gobigdave opened 2 weeks ago

gobigdave commented 2 weeks ago

Describe the bug It looks like the day chart is shifted by one day. I will attached a photo, and you will see it's Friday, but the weather in the chart is for Thursday.

To Reproduce Steps to reproduce the behavior:

  1. Use day forecast
  2. View the chart

Expected behavior I expect the column over the 1st day to match the current day.

Screenshots

Desktop (please complete the following information):

Additional context

gobigdave commented 2 weeks ago

Sorry, but the GitHub app on my iPad is not letting me attach a screen shot. Here's a paste.

image

gobigdave commented 1 week ago

I wonder if there is a time zone issue because I notice the days start to match later in the evening. For example, it matches now on the east coast of the US - 8:45pm EST.

gobigdave commented 1 week ago

I think the issue may not be with the card, but it may the weather entity. For example, if I use the standard weather card, it shows Monday right now even though today is Tuesday. It looks like the labels are not shifting until later in the day since 55F and sunny is what it is now, and that fits the Monday column.

Screenshot 2024-11-12 at 3 20 11 PM