SolarLune / masterplan

MasterPlan is a project management software / visual idea board software. It attempts to be easy to use, lightweight, and fun.
https://solarlune.itch.io/masterplan
509 stars 46 forks source link

Bug: task "overdue by" value skips a day #51

Closed sir-pinecone closed 3 years ago

sir-pinecone commented 3 years ago

I'm seeing the following behaviour when setting a deadline on a task:

Current day = 17th Deadline = 16th -> Overdue by 1 day Deadline = 15th -> Overdue by 2 days Deadline = 14th -> Overdue by 2 days Deadline = 13th -> Overdue by 3 days ...

This might be related to the timer issue I logged in #50.

SolarLune commented 3 years ago

Hello, thank you very much for your bug report.

The last commit should've resolved this issue; both this one and the other one (#50) were caused by incorrect internal date handling around daylight savings time changes. Thanks a lot for the report, again!

Regards~