>>>>> Seppo Sade <sepposade1-re5jqeeqqe8avxtiumw...@public.gmane.org> writes:

> For a ".timelog" entry where the check-in is on one day and the check- out
> the following day:

>   i 2011/07/20 17:00:00 Work project
>   o 2011/07/21 01:00:00 Done for the day

> The output of "ledger -f .timelog reg" (ledger 2.6) records the entry on the
> day of the check-out:

>   2011/07/21 (Test)
> 8.0h 8.0h

> Would there be any way to get the entry recorded on the day of the check-in
> instead? The reason for asking this is that when you do workdays that end
> after midnight, you usually want the hours to show up on the date of the
> check-in (before midnight), instead of the day after. Otherwise reports by
> day look skewed, when the check-in day's hours are zero and the following
> days hours are doubled.

> If this is currently not supported by ledger, what would be the suggested
> way to implement support for it?

This has been fixed in Ledger's current 'next' branch.

John

Reply via email to