lakoliu / Furtherance

Track your time without being tracked
GNU General Public License v3.0
247 stars 23 forks source link

Negative time when adding a new task #63

Closed r3pll closed 2 years ago

r3pll commented 2 years ago

I guess it's a bug. It happends when a stop time is before a start time. Снимок экрана от 2022-06-07 17-04-59 Снимок экрана от 2022-06-07 17-23-05

lakoliu commented 2 years ago

Are you using the latest version of Furtherance? There should be an error message when the stop time is before the start time, and it should not allow the change to happen. Screenshot from 2022-06-07 18-02-04 I'm not able to replicate your issue in the latest version of Furtherance.

r3pll commented 2 years ago

I guess you tries to edit task instead of adding a new one. I use a "+" icon at left top corner

lakoliu commented 2 years ago

Ahhh, okay, yes, you are right, this is a bug. I thought I had implemented a catch for this error but apparently not. Thank you for letting me know, I will get working on it immediately!

lakoliu commented 2 years ago

Okay, I just fixed this for the next release (probably coming out tomorrow). Also, the date format will now be XX/XX/XX depending on locale to match commit 37b9ca0.