There is a new option for time reporting: --day-break.  Sorry to violate the
feature freeze, but I needed this one for some data analysis.

Ordinarily, if you have a timelog entry which spans multiple days, all the
time is accrued to the starting day.  For example, if I have this timelog
entry:

    i 05/10/2011 08:58:37 682
    o 05/12/2011 11:25:21

Then a simple reg will report:

    11-May-10                    (682)                    50.45h      50.45h

Using --day-break causes "time transactions" to split at day boundaries, so
that reg --day-break reports:

    11-May-10                    (682)                    15.02h      15.02h
    11-May-11                    (682)                    24.00h      39.02h
    11-May-12                    (682)                    11.42h      50.45h

This option is necessary for creating histograms or other graphs (via -j)
which use time-in-days as the x axis.

As another example, you might use the --days-of-week to report how many hours
you spend each week at work.  Without --day-break, work spent late-night
Friday, which spills into Saturday, would be reported as time worked on
Friday.

John

Reply via email to