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 timezone issue in expense item form #208

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

raucao
Copy link
Member

@raucao raucao commented Dec 30, 2022

Dates being added with 00:00 time still carry the timezone set for the OS/browser, and thus get changed to the previous day when in a positive offset zone. This change removes the timezone offset entirely when adding the line item, so that the chosen date is always assumed to be in UTC time.

fixes #204

Dates being added with 00:00 time still carry the timezone set for the
OS/browser, and thus get changed to the previous day when in a positive
offset zone. This change removes the timezone offset entirely when
adding the line item, so that the chosen date is always assumed to be in
UTC time.

fixes #204
@raucao raucao requested review from bumi and galfert December 30, 2022 15:24
@raucao raucao merged commit 0b79d48 into master Dec 30, 2022
@raucao raucao deleted the bugfix/204-reimbursement_form branch December 30, 2022 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expense item date incorrect after being added
1 participant