-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on-modify hook ignores task start time #13
Comments
Interaction between Taskwarrior and Timewarrior is managed by the To better analyse your issue you could provide a minimal reproducing example JSON, like
The dumper-script:
|
oh, I just realised that the syntax above actually creates an annotation instead of marking the start time. |
It also obviously ignores changes of the start time - the hook doesn't care at all if I change the start time of an active task. |
As mentioned above: 😉
|
Yeah I know, just wanted to record that separately in case that changes implementation details :) |
Got it fixed, will open a PR soon :) |
Okay, there is still one issue: In Taskwarrior, multiple tasks can be started at the same time - thus a task that is not actually tracked in timewarrior can have its start time modified, which currently totally messes up things. I think we need to check for an exact match and otherwise create a new timetracking - this is tougher than I thought ^^ |
When starting a task with something such as
task start 1 21:00
, taskwarrior correctly marks the task as started at that time in the past, but timewarrior assumes it to have been started just now.The text was updated successfully, but these errors were encountered: