Thanks for the great application. I love it's simplicity.
Though, I'd love to make it a tad less simple, by introducing a "round" feature.
I build invoices from my timetracking, and I copy it to other time-trackers when clients need that. Many of those have minimum timespans. For invoicing, I never work less than 15 minutes. One system I'm working in, only works with 10 minutes. And so on.
I'd love to add a flag to both report
and list
that rounds to the nearest whole N.
e.g. `bartib report --round="10m" which would round to 10 minutes. So, say we have:
guidelines............ 1h 40m
meeting .............. 29m
research project scope 1h 12m
And we run it with --round=10m
it would show:
guidelines............ 1h 40m
meeting .............. 30m
research project scope 1h 10m
But when we run it with --round=1h
it would show:
guidelines............ 2h
meeting .............. 0h
research project scope 1h
Obviously, time tracked is as granular as it is now. Just the output is rounded.
Would this be a feature you'd accept? If so, I'll make a PR for it, and add some tests for it.
In that case: should I be aware of any on-going refactorings that I'd best wait for?