-
Notifications
You must be signed in to change notification settings - Fork 36
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
Report tasks over midnight #29
Comments
Thank you for raising the issue! You are right: reports for activities that span multiple days could use some refinement. Currently, each activity is reported for the date it began. One potential solution could be to provide an option for reporting activities over a more specific time period, such as the last 24 or 12 hours. However, the fundamental issue remains the same: how should we handle activities that are active during the reporting period but begin before or extend beyond it? Perhaps the optimal solution is to include all activities in a report that are active during the reporting period, but adjust their duration. For instance, if an activity lasts for one and a half hours but began half an hour before the reporting period, we would report it with a duration of one hour. Ideally, we should also mark these truncated activities in some way to indicate that they have been adjusted. What are your thoughts on this approach? |
I like the idea to simply truncate intervals crossing the requested repo boundary. P.S. Bartib is amazing, I'm using it daily in the last 3 weeks |
Someone could say that midnight is usually a good moment not to be at the keyboard and sleep...
Apart from this
At 00:09 I run
bartib report --today
and the response was not ok. (so I stopped and started it to attempt to understand what was going on)I'm not sure what to ask here, is there a bug when we cross date? maybe we can add
--last24
near of--today
?The text was updated successfully, but these errors were encountered: