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

stretch --merge option #88

Closed
Kirozen opened this issue Oct 7, 2020 · 2 comments
Closed

stretch --merge option #88

Kirozen opened this issue Oct 7, 2020 · 2 comments

Comments

@Kirozen
Copy link

Kirozen commented Oct 7, 2020

I think about a feature (available via an option of stretch command?):
I would like to stretch by modifying the last entry instead of adding a new one.
Is it possible?

@larose
Copy link
Owner

larose commented Oct 13, 2020

It's possible, but is that desirable? I prefer that utt only appends to the log file (and not update it in place) to reduce the risk of corrupting the log file.

If you want, you could probably implement this as a plugin.

@larose larose closed this as completed Jan 16, 2021
@silvus
Copy link
Contributor

silvus commented Mar 29, 2022

Hi,

If you don't want to update the log file, maybe the report command could group by identical consecutive rows in "Details" section ?

The "Projects" section give me a total but I often need to know the time passed on a task for a half day.

Given the realistic following example, after 2 "stretch" commands :

----------------------------------- Details ------------------------------------

(0h46) 08:57-09:43 Task Y
(2h19) 09:43-12:02 Task X
(1h58) 12:02-13:00 break **
(1h00) 13:00-14:00 Task Y
(3h22) 14:00-16:22 Task X
(1h05) 16:22-17:27 Task X
(1h03) 17:27-18:30 Task X

To get the afternoon time passed on "Task X", I generally manually edit the log file to remove duplicates lines but that's not an optimal workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants