afadil / wealthfolio

A Beautiful Private and Secure Desktop Investment Tracking Application

Home Page:https://wealthfolio.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activity dates are incorrect by negative 1 day

crgeary opened this issue · comments

Activity dates are being stored with an incorrect date. Dates are incorrect by negative 1 day.

This is most likely because I am based in the UK and currently, BST is 10:50pm and UTC time is 9:50pm. So depending on how you handle & store dates, it's likely subtracting away 1 hour from 00:00 resulting in it being 23:00 the day before, and so it shows as negative 1 day.

In the example below, I choose the 3rd of September, but it get stored as the 2nd of September.

Screen.Recording.2024-09-08.at.22.47.46.mov

See #39 for duplicate issues

See #78 for pending fix

Ah sorry! I skimmed the issues and still missed it 🙈 I'll close this. Thanks