Skip to content

[Extension Bug] Todoist Doesn't Separate Overdue and Today Tasks in Today View #502

Closed

Description

@1aryanpro

Extension – Todoist

Author: @thomaslombart

Describe the bug and the current behavior/state.
I have both overdue and today tasks, however the app just shows all of the tasks together without separating the two groups. This works properly in Upcoming View.

Activity

  1. added
    bug
    extension
    on Dec 9, 2021
  2. thomaslombart commented on Dec 11, 2021

    @thomaslombart
    Contributor

    The overdue tasks are handled in both today and upcoming views. Where do you get the bug?

  3. 1aryanpro commented on Dec 11, 2021

    @1aryanpro
    Author

    When I look at my Today tasks view, all of the task shown are in an “overdue” section, even though most of them should be in another section called “today”. I was explaining that the upcoming tasks view does not have this problem.

  4. thomaslombart commented on Dec 14, 2021

    @thomaslombart
    Contributor

    I'm not sure I get what you mean. As of today, the upcoming and today views show tasks in an "overdue" section if the due date is before today. I can't reproduce with my local setup.

    Can you maybe share a screenshot?

  5. stale commented on Jan 13, 2022

    @stale

    This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean. Thanks for your contributions.

  6. added
    wontfix
    on Jan 13, 2022
  7. lumirth commented on Feb 1, 2022

    @lumirth

    @thomaslombart Hate to risk reviving this unnecessarily, but this is an active bug/oversight. When you open today's tasks, it makes it seem like all the tasks due today are overdue. They are not overdue. They are just due today. It seems this extension mistakes "today" with "overdue" and "today" with "tomorrow". The tasks in the "upcoming" view under "tomorrow"(in todoist) are labeled "today". It's like the extension is a day off.

    Here's a screenshot:
    Screen Shot 2022-01-31 at 7 09 59 PM
    The tasks in this screenshot are not overdue—they're due today. Listing them as overdue is incorrect.

    Furthermore, here's a screenshot of the "upcoming" view:
    Screen Shot 2022-01-31 at 7 18 16 PM
    The tasks listed under "today" here aren't today's tasks—they're due tomorrow. Listing them as today's tasks is incorrect.

    Further days of the week are also incorrect. My Tuesday tasks are labeled today, my Wednesday tasks are labeled tomorrow, and so on. (This was written on a monday).

  8. thomaslombart commented on Feb 1, 2022

    @thomaslombart
    Contributor

    @lukthony My gut feeling is that there must be something's wrong with timezones. Would you mind sharing what's your timezone so that I make a few tests?

  9. lumirth commented on Feb 1, 2022

    @lumirth

    @thomaslombart that's a good idea, don't think I would've caught that. I'm in CST, central standard time. (UTC-6)

  10. thomaslombart commented on Feb 3, 2022

    @thomaslombart
    Contributor

    After some investigations, it seems timezones are indeed the root cause of the problem. I can't promise I'll get a fix in the next few days since I'm busy with other work right now, but I'll try to get it done in the next few weeks.

  11. thomaslombart commented on Feb 5, 2022

    @thomaslombart
    Contributor

    @lukthony Have you switched between timezones recently? For example, did you enter some tasks in Todoist, traveled somewhere, and saw these tasks in Raycast?

    I think that's the root cause of the issue. According to Todoist REST API, the date is a "Date in format YYYY-MM-DD corrected to user's timezone."

    So, there shouldn't be an issue if you stay within the same time zone. But if you create a task, say at 10 PM, and switch to a timezone that is 4 hours in advance (2 AM), the task will still be considered as a task from yesterday on the API's side while it should be a task due today.

    Not sure of that yet, but according to some tests, that seems to be the problem.

  12. lumirth commented on Feb 6, 2022

    @lumirth

    @thomaslombart That's interesting, but unfortunately I haven't switched time zones at all recently. Been lingering here in CST for a long time now. Further, I've added more tasks since I first saw the problem, and it persists regardless.

  13. thomaslombart commented on Feb 6, 2022

    @thomaslombart
    Contributor

    Thanks for the answer. The problem must come from somewhere else then. My other guess is that I'm making comparisons using the Date constructor which returns the date to UTC time, but since Todoist returns tasks to the user's corrected timezones, there can be some mismatches. Working with timezones is always tricky 😅

  14. thomaslombart commented on Feb 20, 2022

    @thomaslombart
    Contributor

    @lukthony I worked a bit on the extension this weekend. I found a fix that hopefully will fix timezone issues: #952.

  15. lumirth commented on Feb 23, 2022

    @lumirth

    Works like a charm on my end! Tasks all have correct dates, as far as I can tell. Thanks for everything :]

  16. added a commit that references this issue on Jun 11, 2026
  17. added a commit that references this issue on Jul 13, 2026
  18. added a commit that references this issue on Nov 3, 2026
  19. added a commit that references this issue on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionwontfix

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions