mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
23 lines
483 B
Plaintext
23 lines
483 B
Plaintext
# 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.
|
|
# XXX needs --value not --cost
|
|
hledgerdev -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
|