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

Trello Todo-Block Due Dates Showing Incorrect Day #1648

Closed
Dan-Peck opened this issue Oct 20, 2022 · 1 comment
Closed

Trello Todo-Block Due Dates Showing Incorrect Day #1648

Dan-Peck opened this issue Oct 20, 2022 · 1 comment

Comments

@Dan-Peck
Copy link
Collaborator

Todo Blocks, particularly Trello (and likely Google Tasks) may end up shifting their TimeZone setting on a cards' Due Date, causing the date to show a day too early (or late) on the Screen under certain scenarios.

In this case, Australia/Sydney was the TZ, and the due date was showing as a day earlier than it should have been.

The code is inadvertently stripping the TZ off from the UTC value of the due date prior to converting it to the selected timezone, causing the improper shift in time. Changing this to skip conversion and go directly to Epoch seconds will correct this scenario.

@Dan-Peck Dan-Peck self-assigned this Oct 20, 2022
@Dan-Peck
Copy link
Collaborator Author

Merged in @ 869ae63 and added to the queue for upcoming release to the live site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants