Skip to content
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

Start, end, duration time printed in CLI by taskwarrior-timewarrior python hook are incorrect. #14

Open
poetaman opened this issue Jun 26, 2021 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@poetaman
Copy link

poetaman commented Jun 26, 2021

As pointed in the comment GothenburgBitFactory/taskwarrior#2514 (comment), the taskwarrior-timewarrior python hook prints incorrect start/end/duration times for some >>task commands. The example is described in the comment at GothenburgBitFactory/taskwarrior#2514 (comment) of taskwarrior's ticket: GothenburgBitFactory/taskwarrior#2514. Here's the minimal & edited quote from my comment that invites this ticket.

While the problem of GothenburgBitFactory/taskwarrior#2514 fixed, the information printed in stdout is still incorrect. Check the times printed under "Tracking", and "Recorded" to stdout in teal blue color in screenshot below. The "Started", "Ended" times, and resultant duration are all based on current_timestamp.

Screen Shot 2021-06-26 at 2 34 59 PM

@poetaman poetaman changed the title Enhancement Start, end, duration time printed in CLI by taskwarrior-timewarrior python hook are incorrect. Jun 26, 2021
@tbabej tbabej added bug Something isn't working good first issue Good for newcomers labels Jun 26, 2021
@tbabej
Copy link
Sponsor Member

tbabej commented Jun 26, 2021

Some coarse implementation hints are here and here

@tbabej
Copy link
Sponsor Member

tbabej commented Jun 26, 2021

@reportaman FYI, perhaps this currently open PR already partially addresses this issue: GothenburgBitFactory/timewarrior#329

@lauft
Copy link
Member

lauft commented Feb 5, 2023

FYI: GothenburgBitFactory/timewarrior#329 has been migrated to #5

@lauft lauft transferred this issue from GothenburgBitFactory/timewarrior Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants