Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix date (hopefully) #699

Merged
merged 2 commits into from
Jul 18, 2023
Merged

fix date (hopefully) #699

merged 2 commits into from
Jul 18, 2023

Conversation

18alantom
Copy link
Member

@18alantom 18alantom commented Jul 18, 2023

  • fix: return local date for display
  • fix: store as local date in ISO format - datetime is stored in UTC

In Date.vue local date was being converted to UTC before using only the date
component.

Due to this depending on the timezone the date portion was a day ahead or behind
local date, for example:

local datetime gmt-0400 = 2023-07-19 00:00:00
  utc datetime gmt+0000 = 2023-07-18 20:00:00

hopefully this PR corrects it.

closes #689

@18alantom 18alantom merged commit 45bc8c4 into master Jul 18, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Journal Entry - New Entry - Date Selector Changes After Selection
1 participant