dooit icon indicating copy to clipboard operation
dooit copied to clipboard

[BUG] Recurring due dates changing from 1 day to 1 year

Open silentjay opened this issue 1 year ago • 0 comments

When setting a task to recur daily and the due date to today's date, complete task and the next day the due date remains the same date but changes to 12 months in the past/future.

Here's the steps:

  • Add task, set recur to 1d and date to today e.g. 25-09-2024 with or without an exact time. Change date style with D will display 1d
  • Complete the task on the same day
  • The next day the task will remain in the completed state as will the date. If you change the date style again it will now display 12mo or 1yr.

Looking at one of these tasks in the DB file looks like this:

      - - uuid: todo_99f469d0-7878-4300-abc3-4e2b61f292ed
          status: COMPLETED
          urgency: 2
          description: Make Bed
          due: '1758409200.0'
          effort: ''
          recurrence: 1d

According to the unix timestamp that is due today but the UI shows:

image

If i'm doing something completely wrong or this is a bug. dooit version 2.2.0.

silentjay avatar Sep 25 '24 09:09 silentjay