Watson icon indicating copy to clipboard operation
Watson copied to clipboard

Activities extending on several days

Open ericguirbal opened this issue 4 years ago • 0 comments

I've just noticed an inconsistency between the log and aggregate/report commands for activities extending on several days.

> watson add --from "2021-07-04 23:00" --to "2021-07-05 01:00"  textbook
Adding project textbook, started 18 hours ago and stopped 16 hours ago. (id: 507617a)

> watson log --from "2021-07-04"
Sunday 04 July 2021 (2h 00m 00s)
	507617a  23:00 to 01:00   2h 00m 00s  textbook

> watson aggregate --from "2021-07-04"
Sun 04 July 2021 - 59m 59s            
  textbook - 59m 59s

Mon 05 July 2021 - 1h 00m 00s
  textbook - 1h 00m 00s

What about an option day_start ?

ericguirbal avatar Jul 05 '21 16:07 ericguirbal