hledger/tests/timedot.test

32 lines
412 B
Plaintext
Raw Normal View History

# Note since 1.17 we need to specify stdin's format explicitly.
2020-02-28 04:38:13 +03:00
# 1. basic timedot entry
<
# comment
; another comment
2020-01-01
a:aa 1
b:bb 2
$ hledger -ftimedot:- print
2020-02-28 04:38:13 +03:00
2020-01-01 *
(a:aa) 1.00
2020-01-01 *
(b:bb) 2.00
>=0
# 2. Org mode headline prefixes are ignored.
<
* 2020-01-01
** a:aa 1
$ hledger -ftimedot:- print
2020-01-01 *
(a:aa) 1.00
>=0