@leocg said in HIstory date is incorrect:
@alobpreis The issue with the day on history changing at UTC instead of in local time zone was fixed a while ago and everything seems to be working fine here.
Indeed, I'm aware and commented about that some months ago. I was just guessing that maybe the timezone problem is still present in the date filter and is causing this 1 day off issue.
Just confirmed, the issue is with negative timezones. With UTC, UTC+1, etc. everything works fine. I can even select from today to today in the filter. With UTC-1 all issues are back. Selecting "To March 1st", when you reopen the filter popup "Feb 27th" is selected.
I then moved the computer's date one day forward, the filter lets me select March 2nd, but when I do, March 1st is selected. After clicking on Done, the results belong to March 1st. If I open the filter again, no date appears selected, so I go back to February and I see the 28 is selected on both calendars. However, the dates on top still say "From: 2021-03-02 To: 2021-03-02" but however they still filter from and to March 1st.
It's weird, like if the timezone bug is occurring twice: once when selecting the date, and again when showing the (supposedly) selected dates when you re-open the date filter, so you actually get a 2 day difference overall. That's also why I was getting February 27th in my previous test.