diff --git a/tests/timeclock/timeclock.test b/tests/timeclock/timeclock.test index 2fdd1fada..5e28cc77e 100644 --- a/tests/timeclock/timeclock.test +++ b/tests/timeclock/timeclock.test @@ -21,54 +21,54 @@ o 2009/1/3 09:00:00 >>>2 >>>= 0 -# TODO -# 2. multi-day sessions get a new transaction for each day -hledger -f- print -<<< -i 2017/04/20 09:00:00 A -o 2017/04/20 17:00:00 -i 2017/04/21 09:00:00 B -o 2017/04/21 17:00:00 -i 2017/04/22 09:00:00 C -o 2017/04/22 17:00:00 ->>> ->>>2 ->>>= - -# 3. unclosed sessions are automatically closed at report time -# TODO this output looks wrong -hledger -f- print -<<< -i 2017/04/20 09:00:00 A -o 2017/04/20 17:00:00 -i 2017/04/21 09:00:00 B -o 2017/04/21 17:00:00 -i 2017/04/22 09:00:00 C -o 2017/04/22 17:00:00 ->>> -2017/04/20 * 09:00-17:00 - (A) 8.00h - -2017/04/21 * 09:00-23:59 - (B) 15.00h - -2017/04/22 * 00:00-09:00 - (B) 9.00h - -2017/04/22 * 17:00-23:59 - () 7.00h - -2017/04/23 * 00:00-23:59 - () 24.00h - -2017/04/24 * 00:00-23:59 - () 24.00h - -2017/04/25 * 00:00-11:28 - () 11.47h - ->>>2 ->>>= +## TODO +## 2. multi-day sessions get a new transaction for each day +#hledger -f- print +#<<< +#i 2017/04/20 09:00:00 A +#o 2017/04/20 17:00:00 +#i 2017/04/21 09:00:00 B +#o 2017/04/21 17:00:00 +#i 2017/04/22 09:00:00 C +#o 2017/04/22 17:00:00 +#>>> +#>>>2 +#>>>= +# +## 3. unclosed sessions are automatically closed at report time +## TODO this output looks wrong +#hledger -f- print +#<<< +#i 2017/04/20 09:00:00 A +#o 2017/04/20 17:00:00 +#i 2017/04/21 09:00:00 B +#o 2017/04/21 17:00:00 +#i 2017/04/22 09:00:00 C +#o 2017/04/22 17:00:00 +#>>> +#2017/04/20 * 09:00-17:00 +# (A) 8.00h +# +#2017/04/21 * 09:00-23:59 +# (B) 15.00h +# +#2017/04/22 * 00:00-09:00 +# (B) 9.00h +# +#2017/04/22 * 17:00-23:59 +# () 7.00h +# +#2017/04/23 * 00:00-23:59 +# () 24.00h +# +#2017/04/24 * 00:00-23:59 +# () 24.00h +# +#2017/04/25 * 00:00-11:28 +# () 11.47h +# +#>>>2 +#>>>= # 4.