dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
685 stars 76 forks source link

Failed to stop tracking time #85

Closed hobias closed 3 years ago

hobias commented 3 years ago

Hi there,

thanks for the project. It looks nice. However I encountered a bug trying to stop tracking:

timetrace create project test
✔️ Created project test
timetrace start test
✔️ Started tracking time
timetrace stop
❗ Failed to stop tracking: record already exists

timetrace status works fine.

The json looks like this:

{
    "start": "2021-05-26T10:23:37.5685406+02:00",
    "end": null,
    "project": {
        "key": "test"
    },
    "is_billable": false
}

I use timetrace version 0.6.0 on Windows 10.

dominikbraun commented 3 years ago

Can confirm this bug with timetrace v0.6.0 on macOS 11.3.

dominikbraun commented 3 years ago

This bug has been fixed with release 0.6.1. Just download the latest release,timetrace stop should work again.