2011-06-01 05:50:04 +04:00
|
|
|
# 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.
|
2012-01-23 00:39:11 +04:00
|
|
|
# XXX needs --value not --cost
|
|
|
|
# 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
|
2011-06-01 05:50:04 +04:00
|
|
|
|
2012-01-23 00:39:11 +04:00
|
|
|
# 2010/12/31
|
|
|
|
# (20101231) 1 A
|
2011-06-01 05:50:04 +04:00
|
|
|
|
2012-01-23 00:39:11 +04:00
|
|
|
# 2011/1/1
|
|
|
|
# (20110101) 1 A
|
2011-06-01 05:50:04 +04:00
|
|
|
|
2012-01-23 00:39:11 +04:00
|
|
|
# 2011/1/2
|
|
|
|
# (20110102) 1 A
|
|
|
|
# >>>
|
|
|
|
# 1 A 20101231
|
|
|
|
# $2 20110101
|
|
|
|
# $2 20110102
|
|
|
|
# >>>=0
|