WangDaYeeeeee / GeometricWeather

A Material Design Weather Application
GNU Lesser General Public License v3.0
2.44k stars 186 forks source link

Daily Forecast card shows wrong time, includes current day and tomorrow as "today" early #372

Open Starcr0ss opened 2 years ago

Starcr0ss commented 2 years ago

I am using Version 3.102 F-Droid on Android 11. The clock below the current temperature is 4 hours fast (I'm in EDT if that matters, I don't know), and when this clock incorrectly passes midnight, the current day (in this case, Wednesday) is shown, and then tomorrow is listed as today, as shown in the screenshot. I am using OpenWeatherMap as my weather provider. Screenshot_20220706-223516-915

papjul commented 2 years ago

1) What happens if you force close the app and restart? 2) What happens if you refresh weather data?

Just want to diagnose if it is a temporary display issue or related to some other timezone issue we have.

Starcr0ss commented 2 years ago

@papjul

  1. Went into recents, swiped the app off, then went into settings and restarted the app. The issue persists. To experiment with it, I also changed my system clock from 10 am (real time) to 10 pm (closer to the start of a new day) and it creates the same issues that naturally occurred. First step results

  2. Refreshing changes nothing except for the refresh time to whatever the system clock was telling at the time of refresh. Step 2 results

papjul commented 2 years ago

Just came accross the same situation where Today is listed in second position.

It's currently 24 Jul, 1 am where I live and my weather data was refreshed yesterday 23/07.

23/07 is listed first and shown as "23/07" as part of the weather data from the day before. 24/07 is then listed in second position and shown as "Today", and contains correct data for 24/07.

So… I see nothing wrong with the way things are displayed on my side, could you clarify what exactly is incorrect? Please detail at which hour of which day you are taking the screenshot.