-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Similar to issue #81 , the timetrace edit record <key> command does not rename the file. This shouldn't be an issue when we pass either the --plus or --minus flags, since these edit the end times, but without those flags, the user can edit the json file and potentially change the start time, which is the key for a record. The documentation recommends using timetrace list records in conjunction with the timetrace edit record command, but this does not work as intended if a flag is not used.
The code expects the key to correspond to the filename, but since it is not changed, the file is not found.
In the image, I demonstrate the above with record 1. Note that this also occurs when use12Hours is false.

I'd imagine the solution would be similar to those mentioned in issue #81 .