Skip to content

Conversation

@wizeman
Copy link
Contributor

@wizeman wizeman commented Sep 18, 2019

The all_day field no longer exists on Todoist sync API's Items.

As a consequence, due dates that were newly synced were always being shown as date+time, where time was always 0:00, even if the due date had no associated time.

Instead of relying on Todoist's API, this PR calculates the equivalent of all_day based on how the date is parsed.

Copy link
Owner

@sachaos sachaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR.

@wizeman
Copy link
Contributor Author

wizeman commented Oct 14, 2019

@sachaos I've fixed the issue you mentioned. However, I think I found a regression.

When I do todoist list -f today, some tasks that are due today do not show up in the output. Probably these are tasks that have times attached.

So I don't suggest merging this as-is.

@dwainm
Copy link
Collaborator

dwainm commented Mar 3, 2023

@wizeman I'll take a look at this shortly. Could you help me replicate this?

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.

3 participants