Bug: New tasks get created in "Year 0003" when a task spans midnight

Niko, sometimes I forget to close a task at the end of the day. In the attached screenshot, you can see I started a task at 7:03 pm and didn’t end it until 6:03 am the next day — so it spans two calendar days.

When a task like that exists, adding a new task to the same day breaks:

  1. I select the task list on the left and press “+”.
  2. Normally a new task appears at the top of the Timings list, ready to fill in.
  3. This time, nothing visibly happens.
  4. I press “+” again — still nothing appears.
  5. But the task was created — just filed under Year 0003 instead of the current day.

If I fix the overnight task first (so no task spans two days), the “+” button works normally again.

Thank you Tomas for the detailed description of this bug. This is a very good find!

I’ll be releasing an update this week, which will include a fix for this.

Thank you Niko!

Tomas