# timezone-related tests # 1. as in ledger, historical prices may contain a time and timezone. # hledger ignores them and uses 00:00 local time instead. bin/hledger -f - balance --no-total --cost <<< P 2011/01/01 00:00:00 A $1 P 2011/01/01 15:00:00-0100 A $2 2010/12/31 (20101231) 1 A 2011/1/1 (20110101) 1 A 2011/1/2 (20110102) 1 A >>> 1 A 20101231 $2 20110101 $2 20110102 >>>=0