mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
Get "make functest" working again
This commit is contained in:
parent
ab12ff916f
commit
c823f5b51a
@ -36,9 +36,9 @@
|
||||
assets:cash
|
||||
|
||||
$ hledger -f- bal --budget -DTN
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
||||
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||
==================++========================================================================================
|
||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25] $-75 [ 100% of $-75]
|
||||
@ -82,9 +82,9 @@ account expenses:leisure
|
||||
assets:cash
|
||||
|
||||
$ hledger -f- bal --budget -DTN
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
||||
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||
==================++========================================================================================
|
||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||
expenses:leisure || 0 [ 0% of $15] $5 [ 33% of $15] 0 [ 0% of $15] $5 [ 11% of $45]
|
||||
@ -94,9 +94,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
|
||||
# # 2. -E
|
||||
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget -E
|
||||
# Budget performance in 2016/12/01-2016/12/03:
|
||||
# Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
# || 2016/12/01 2016/12/02 2016/12/03
|
||||
# || 2016-12-01 2016-12-02 2016-12-03
|
||||
# ==============================++==============================================================================
|
||||
# <unbudgeted>:expenses:cab || 0 0 $15
|
||||
# <unbudgeted>:expenses:movies || 0 0 $25
|
||||
@ -142,9 +142,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
# assets:cash
|
||||
|
||||
# $ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget
|
||||
# Budget performance in 2016/12/01-2016/12/03:
|
||||
# Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
# || 2016/12/01 2016/12/02 2016/12/03
|
||||
# || 2016-12-01 2016-12-02 2016-12-03
|
||||
# ==================++=====================================================================================
|
||||
# <unbudgeted> || 0 0 $40
|
||||
# assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||
@ -156,9 +156,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
#** Sort by actual amount, flat mode.
|
||||
|
||||
$ hledger -f- bal --budget -DTNS
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
||||
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||
==================++========================================================================================
|
||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||
expenses:food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
||||
@ -169,9 +169,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
#** Sort by actual amount, tree mode.
|
||||
|
||||
$ hledger -f- bal --budget -DTNS --tree
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03 Total
|
||||
|| 2016-12-01 2016-12-02 2016-12-03 Total
|
||||
===========++========================================================================================
|
||||
expenses || $10 [ 40% of $25] $14 [ 56% of $25] $51 [ 204% of $25] $75 [ 100% of $75]
|
||||
food || $10 [ 100% of $10] $9 [ 90% of $10] $11 [ 110% of $10] $30 [ 100% of $30]
|
||||
|
@ -32,9 +32,9 @@
|
||||
|
||||
# 1. Test --budget switch
|
||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03
|
||||
|| 2016-12-01 2016-12-02 2016-12-03
|
||||
==================++==================================================================
|
||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
@ -46,9 +46,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
|
||||
# 2. -E
|
||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget -E
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03
|
||||
|| 2016-12-01 2016-12-02 2016-12-03
|
||||
==================++==================================================================
|
||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
@ -96,9 +96,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
assets:cash
|
||||
|
||||
$ hledger -f- bal -D -b 2016-12-01 -e 2016-12-04 --budget
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03
|
||||
|| 2016-12-01 2016-12-02 2016-12-03
|
||||
==================++======================================================================================
|
||||
assets || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||
assets:cash || $-15 [ 60% of $-25] $-26 [ 104% of $-25] $-51 [ 204% of $-25]
|
||||
@ -131,9 +131,9 @@ Budget performance in 2016/12/01-2016/12/03:
|
||||
(c) 1
|
||||
|
||||
$ hledger -f- bal --budget
|
||||
Budget performance in 2018/01/01-2018/01/03:
|
||||
Budget performance in 2018-01-01-2018-01-03:
|
||||
|
||||
|| 2018/01/01-2018/01/03
|
||||
|| 2018-01-01-2018-01-03
|
||||
===++=======================
|
||||
a || 2 [ 7% of 30]
|
||||
b || 2 [ 2% of 100]
|
||||
@ -145,9 +145,9 @@ Budget performance in 2018/01/01-2018/01/03:
|
||||
# Budget goals with lower frequency than the report are posted in the
|
||||
# appropriate intermittent periods.
|
||||
$ hledger -f- bal --budget -D
|
||||
Budget performance in 2018/01/01-2018/01/03:
|
||||
Budget performance in 2018-01-01-2018-01-03:
|
||||
|
||||
|| 2018/01/01 2018/01/02 2018/01/03
|
||||
|| 2018-01-01 2018-01-02 2018-01-03
|
||||
===++=========================================================
|
||||
a || 1 [ 10% of 10] 0 [ 0% of 10] 1 [ 10% of 10]
|
||||
b || 1 [ 1% of 100] 0 [ 0] 1 [ 0]
|
||||
@ -157,9 +157,9 @@ Budget performance in 2018/01/01-2018/01/03:
|
||||
|
||||
# 6. Budget goals with higher frequency than the report get added up appropriately.
|
||||
$ hledger -f- bal --budget -W
|
||||
Budget performance in 2018/01/01w01:
|
||||
Budget performance in 2018-01-01w01:
|
||||
|
||||
|| 2018/01/01w01
|
||||
|| 2018-01-01w01
|
||||
===++===================
|
||||
a || 2 [ 7% of 30]
|
||||
b || 2 [ 2% of 100]
|
||||
@ -189,9 +189,9 @@ Budget performance in 2018/01/01w01:
|
||||
(b) 1
|
||||
|
||||
$ hledger -f- bal --budget -D
|
||||
Budget performance in 2018/01/01-2018/01/04:
|
||||
Budget performance in 2018-01-01-2018-01-04:
|
||||
|
||||
|| 2018/01/01 2018/01/02 2018/01/03 2018/01/04
|
||||
|| 2018-01-01 2018-01-02 2018-01-03 2018-01-04
|
||||
==============++================================================================
|
||||
<unbudgeted> || 1 1 1 1
|
||||
a || 1 1 [ 100% of 1] 1 [ 100% of 1] 1
|
||||
@ -219,9 +219,9 @@ Budget performance in 2018/01/01-2018/01/04:
|
||||
(a) 1
|
||||
|
||||
$ hledger -f- bal --budget -D
|
||||
Budget performance in 2018/01/01-2018/01/04:
|
||||
Budget performance in 2018-01-01-2018-01-04:
|
||||
|
||||
|| 2018/01/01 2018/01/02 2018/01/03 2018/01/04
|
||||
|| 2018-01-01 2018-01-02 2018-01-03 2018-01-04
|
||||
===++====================================================================
|
||||
a || 1 [ 100% of 1] 1 [ 100% of 1] 1 [ 10% of 10] 1 [ 10% of 10]
|
||||
---++--------------------------------------------------------------------
|
||||
@ -229,9 +229,9 @@ Budget performance in 2018/01/01-2018/01/04:
|
||||
|
||||
# 9. A "from A to B" budget should not be included in a report beginning on B.
|
||||
$ hledger -f- bal --budget -D -b 2018/1/3
|
||||
Budget performance in 2018/01/03-2018/01/04:
|
||||
Budget performance in 2018-01-03-2018-01-04:
|
||||
|
||||
|| 2018/01/03 2018/01/04
|
||||
|| 2018-01-03 2018-01-04
|
||||
===++==================================
|
||||
a || 1 [ 10% of 10] 1 [ 10% of 10]
|
||||
---++----------------------------------
|
||||
@ -251,9 +251,9 @@ Budget performance in 2018/01/03-2018/01/04:
|
||||
# even if there are no actual transactions in the period,
|
||||
# or if the actual amount is zero.
|
||||
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3
|
||||
Budget performance in 2018/01/01-2018/01/02:
|
||||
Budget performance in 2018-01-01-2018-01-02:
|
||||
|
||||
|| 2018/01/01 2018/01/02
|
||||
|| 2018-01-01 2018-01-02
|
||||
===++================================
|
||||
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
||||
---++--------------------------------
|
||||
@ -261,9 +261,9 @@ Budget performance in 2018/01/01-2018/01/02:
|
||||
|
||||
# 11. With -E, zeroes are shown
|
||||
$ hledger -f- bal --budget -D date:2018/1/1-2018/1/3 -E
|
||||
Budget performance in 2018/01/01-2018/01/02:
|
||||
Budget performance in 2018-01-01-2018-01-02:
|
||||
|
||||
|| 2018/01/01 2018/01/02
|
||||
|| 2018-01-01 2018-01-02
|
||||
===++================================
|
||||
a || 0 [ 0% of 1] 0 [ 0% of 1]
|
||||
---++--------------------------------
|
||||
@ -278,9 +278,9 @@ Budget performance in 2018/01/01-2018/01/02:
|
||||
(a:b) 1
|
||||
|
||||
$ hledger -f- bal --budget -N
|
||||
Budget performance in 2018/01/01:
|
||||
Budget performance in 2018-01-01:
|
||||
|
||||
|| 2018/01/01
|
||||
|| 2018-01-01
|
||||
===++================
|
||||
a || 1 [ 100% of 1]
|
||||
|
||||
@ -295,9 +295,9 @@ Budget performance in 2018/01/01:
|
||||
(a:b:c) 1
|
||||
|
||||
$ hledger -f- bal --budget
|
||||
Budget performance in 2018/01/01:
|
||||
Budget performance in 2018-01-01:
|
||||
|
||||
|| 2018/01/01
|
||||
|| 2018-01-01
|
||||
=======++==================
|
||||
a || 2 [ 2% of 101]
|
||||
a:b || 1 [ 100% of 1]
|
||||
@ -307,9 +307,9 @@ Budget performance in 2018/01/01:
|
||||
|
||||
# 14. tree mode
|
||||
$ hledger -f- bal --budget --tree
|
||||
Budget performance in 2018/01/01:
|
||||
Budget performance in 2018-01-01:
|
||||
|
||||
|| 2018/01/01
|
||||
|| 2018-01-01
|
||||
=======++==================
|
||||
a || 2 [ 2% of 101]
|
||||
b || 1 [ 100% of 1]
|
||||
@ -338,7 +338,7 @@ P 2018/01/26 SHARE €10
|
||||
assets:bank
|
||||
|
||||
$ hledger -f - bal -M --budget --cumulative --forecast -V
|
||||
Budget performance in 2018/05/01-2018/06/30, valued at period ends:
|
||||
Budget performance in 2018-05-01-2018-06-30, valued at period ends:
|
||||
|
||||
|| May Jun
|
||||
================++==========================================
|
||||
@ -368,9 +368,9 @@ Budget performance in 2018/05/01-2018/06/30, valued at period ends:
|
||||
liabilities $-30.00
|
||||
|
||||
$ hledger -f- bal --budget
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
===================++==============================
|
||||
expenses || $50.00 [ 5% of $1,000.00]
|
||||
expenses:personal || $50.00 [ 5% of $1,000.00]
|
||||
@ -380,9 +380,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 17.
|
||||
$ hledger -f- bal --budget -E
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
========================================++==============================
|
||||
expenses || $50.00 [ 5% of $1,000.00]
|
||||
expenses:personal || $50.00 [ 5% of $1,000.00]
|
||||
@ -394,9 +394,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 18.
|
||||
$ hledger -f- bal --budget --tree
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
=============++==============================
|
||||
expenses || $50.00 [ 5% of $1,000.00]
|
||||
personal || $50.00 [ 5% of $1,000.00]
|
||||
@ -406,9 +406,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 19.
|
||||
$ hledger -f- bal --budget --tree -E
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
=================++==============================
|
||||
expenses || $50.00 [ 5% of $1,000.00]
|
||||
personal || $50.00 [ 5% of $1,000.00]
|
||||
@ -438,9 +438,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
liabilities $-30.00
|
||||
|
||||
$ hledger -f- bal --budget
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
===============================++==============================
|
||||
expenses || $50.00 [ 5% of $1100.00]
|
||||
expenses:personal || $50.00 [ 5% of $1100.00]
|
||||
@ -451,9 +451,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 21.
|
||||
$ hledger -f- bal --budget -E
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
========================================++==============================
|
||||
expenses || $50.00 [ 5% of $1100.00]
|
||||
expenses:personal || $50.00 [ 5% of $1100.00]
|
||||
@ -465,9 +465,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 22.
|
||||
$ hledger -f- bal --budget --tree
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
=================++==============================
|
||||
expenses || $50.00 [ 5% of $1100.00]
|
||||
personal || $50.00 [ 5% of $1100.00]
|
||||
@ -478,9 +478,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
|
||||
# 23.
|
||||
$ hledger -f- bal --budget --tree -E
|
||||
Budget performance in 2019/01/01-2019/01/03:
|
||||
Budget performance in 2019-01-01-2019-01-03:
|
||||
|
||||
|| 2019/01/01-2019/01/03
|
||||
|| 2019-01-01-2019-01-03
|
||||
=================++==============================
|
||||
expenses || $50.00 [ 5% of $1100.00]
|
||||
personal || $50.00 [ 5% of $1100.00]
|
||||
@ -515,9 +515,9 @@ Budget performance in 2019/01/01-2019/01/03:
|
||||
# By default it hides d (because no budget) and e (because zero posted amount).
|
||||
# f is shown though its budget is zero, it probably shouldn't be.
|
||||
$ hledger bal -f- --budget
|
||||
Budget performance in 2019/01/01-2019/01/02:
|
||||
Budget performance in 2019-01-01-2019-01-02:
|
||||
|
||||
|| 2019/01/01-2019/01/02
|
||||
|| 2019-01-01-2019-01-02
|
||||
==================++=======================
|
||||
expenses || $80 [ 22% of $370]
|
||||
expenses:bills || $80 [ 22% of $370]
|
||||
@ -532,9 +532,9 @@ Budget performance in 2019/01/01-2019/01/02:
|
||||
|
||||
# 25. -E shows d
|
||||
$ hledger bal -f- --budget -E
|
||||
Budget performance in 2019/01/01-2019/01/02:
|
||||
Budget performance in 2019-01-01-2019-01-02:
|
||||
|
||||
|| 2019/01/01-2019/01/02
|
||||
|| 2019-01-01-2019-01-02
|
||||
==================++=======================
|
||||
expenses || $80 [ 22% of $370]
|
||||
expenses:bills || $80 [ 22% of $370]
|
||||
|
@ -253,7 +253,7 @@ hledger -f- balance -p 'monthly 2014/1/10-2014/2/20'
|
||||
(after) 1
|
||||
|
||||
>>>
|
||||
Balance changes in 2014/01/01-2014/02/28:
|
||||
Balance changes in 2014-01-01-2014-02-28:
|
||||
|
||||
|| Jan Feb
|
||||
========++==========
|
||||
|
@ -12,9 +12,9 @@ hledger -f sample.journal balance expenses -%
|
||||
# 2. Multi column percent
|
||||
hledger -f sample.journal balance expenses -% -p daily
|
||||
>>>
|
||||
Balance changes in 2008/06/03:
|
||||
Balance changes in 2008-06-03:
|
||||
|
||||
|| 2008/06/03
|
||||
|| 2008-06-03
|
||||
===================++============
|
||||
expenses:food || 50.0 %
|
||||
expenses:supplies || 50.0 %
|
||||
|
@ -1,6 +1,6 @@
|
||||
hledger -f balance-multicol.journal balance --pretty-tables -M
|
||||
>>>
|
||||
Balance changes in 2012/12/01-2013/03/31:
|
||||
Balance changes in 2012-12-01-2013-03-31:
|
||||
|
||||
║ Dec Jan Feb Mar
|
||||
═════════════════╬════════════════════
|
||||
|
@ -1,6 +1,6 @@
|
||||
hledger -f balance-multicol.journal balance -M -A --transpose
|
||||
>>>
|
||||
Balance changes in 2012/12/01-2013/03/31:
|
||||
Balance changes in 2012-12-01-2013-03-31:
|
||||
|
||||
|| assets assets:cash assets:checking |
|
||||
=========++======================================+====
|
||||
@ -53,9 +53,9 @@ hledger bal -D -b 2016-12-01 -e 2016-12-04 -f - --budget
|
||||
expenses:leisure $15
|
||||
assets:cash
|
||||
>>>
|
||||
Budget performance in 2016/12/01-2016/12/03:
|
||||
Budget performance in 2016-12-01-2016-12-03:
|
||||
|
||||
|| 2016/12/01 2016/12/02 2016/12/03
|
||||
|| 2016-12-01 2016-12-02 2016-12-03
|
||||
==================++==================================================================
|
||||
assets || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
assets:cash || $-10 [ 40% of $-25] $-14 [ 56% of $-25] $-51 [ 204% of $-25]
|
||||
|
@ -5,9 +5,9 @@ hledger -f - cashflow
|
||||
assets 1
|
||||
b
|
||||
>>>
|
||||
Cashflow Statement 2016/01/01
|
||||
Cashflow Statement 2016-01-01
|
||||
|
||||
|| 2016/01/01
|
||||
|| 2016-01-01
|
||||
============++============
|
||||
Cash flows ||
|
||||
------------++------------
|
||||
@ -75,9 +75,9 @@ hledger -f - cashflow -b 2015 -e 2017
|
||||
assets:checking $10.00
|
||||
assets:receivables -$10.00
|
||||
>>>
|
||||
Cashflow Statement 2015/01/01-2016/12/31
|
||||
Cashflow Statement 2015-01-01-2016-12-31
|
||||
|
||||
|| 2015/01/01-2016/12/31
|
||||
|| 2015-01-01-2016-12-31
|
||||
=================++=======================
|
||||
Cash flows ||
|
||||
-----------------++-----------------------
|
||||
@ -229,9 +229,9 @@ hledger -f - cashflow
|
||||
assets:fixed assets:equipment 1
|
||||
b
|
||||
>>>
|
||||
Cashflow Statement 2016/01/01
|
||||
Cashflow Statement 2016-01-01
|
||||
|
||||
|| 2016/01/01
|
||||
|| 2016-01-01
|
||||
============++============
|
||||
Cash flows ||
|
||||
------------++------------
|
||||
|
@ -1,9 +1,9 @@
|
||||
# 1. all data files on the command line should be read
|
||||
hledger inc -f personal.journal -f business.journal
|
||||
>>>
|
||||
Income Statement 2014/01/01-2014/01/02
|
||||
Income Statement 2014-01-01-2014-01-02
|
||||
|
||||
|| 2014/01/01-2014/01/02
|
||||
|| 2014-01-01-2014-01-02
|
||||
==========================++=======================
|
||||
Revenues ||
|
||||
--------------------------++-----------------------
|
||||
|
@ -17,14 +17,14 @@ $ hledger -f- register --weekly --monthly
|
||||
2019/02 a 1 3
|
||||
|
||||
$ hledger -f- register --monthly --weekly
|
||||
2018/12/31w01 a 2 2
|
||||
2019/01/28w05 a 1 3
|
||||
2018-12-31w01 a 2 2
|
||||
2019-01-28w05 a 1 3
|
||||
|
||||
# The last report interval option takes precedence.
|
||||
# The --period expression is no exception.
|
||||
$ hledger -f- register -p 'monthly in 2019' --weekly
|
||||
2018/12/31w01 a 2 2
|
||||
2019/01/28w05 a 1 3
|
||||
2018-12-31w01 a 2 2
|
||||
2019-01-28w05 a 1 3
|
||||
|
||||
$ hledger -f- register --weekly -p 'monthly in 2019'
|
||||
2019/01 a 2 2
|
||||
|
@ -16,7 +16,7 @@ hledger bal -M -b 2016-11 -e 2017-02 -f - --forecast
|
||||
expenses:grocery $30
|
||||
assets:cash
|
||||
>>>
|
||||
Balance changes in 2016/12/01-2017/01/31:
|
||||
Balance changes in 2016-12-01-2017-01-31:
|
||||
|
||||
|| Dec Jan
|
||||
==================++===============
|
||||
|
@ -5,9 +5,9 @@ hledger -f - incomestatement
|
||||
income 1
|
||||
b
|
||||
>>>
|
||||
Income Statement 2016/01/01
|
||||
Income Statement 2016-01-01
|
||||
|
||||
|| 2016/01/01
|
||||
|| 2016-01-01
|
||||
==========++============
|
||||
Revenues ||
|
||||
----------++------------
|
||||
@ -90,9 +90,9 @@ hledger -f - incomestatement -b 2015 -e 2017
|
||||
assets:checking $10.00
|
||||
assets:receivables -$10.00
|
||||
>>>
|
||||
Income Statement 2015/01/01-2016/12/31
|
||||
Income Statement 2015-01-01-2016-12-31
|
||||
|
||||
|| 2015/01/01-2016/12/31
|
||||
|| 2015-01-01-2016-12-31
|
||||
===================++=======================
|
||||
Revenues ||
|
||||
-------------------++-----------------------
|
||||
|
@ -413,7 +413,7 @@ Balance changes in 2000q1, valued at period ends:
|
||||
# February adds 1 A costing 7 B, making 13 B.
|
||||
# March adds 1 A costing 8 B, making 21 B.
|
||||
$ hledger -f- bal -M -H -b 200002 --value=cost
|
||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at cost:
|
||||
Ending balances (historical) in 2000-02-01-2000-03-31, valued at cost:
|
||||
|
||||
|| 2000-02-29 2000-03-31
|
||||
===++========================
|
||||
@ -426,7 +426,7 @@ Ending balances (historical) in 2000/02/01-2000/03/31, valued at cost:
|
||||
# February adds 1 A making 2 A, which is valued at 2000/02/29 as 4 B.
|
||||
# March adds 1 A making 3 A, which is valued at 2000/03/31 as 9 B.
|
||||
$ hledger -f- bal -MA -H -b 200002 --value=end
|
||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at period ends:
|
||||
Ending balances (historical) in 2000-02-01-2000-03-31, valued at period ends:
|
||||
|
||||
|| 2000-02-29 2000-03-31 Average
|
||||
===++=================================
|
||||
@ -437,7 +437,7 @@ Ending balances (historical) in 2000/02/01-2000/03/31, valued at period ends:
|
||||
# 40. multicolumn balance report with -H valued at other date.
|
||||
# The starting balance is 5 B (1 A valued at 2000/1/15).
|
||||
$ hledger -f- bal -M -H -b 200002 --value=2000-01-15
|
||||
Ending balances (historical) in 2000/02/01-2000/03/31, valued at 2000-01-15:
|
||||
Ending balances (historical) in 2000-02-01-2000-03-31, valued at 2000-01-15:
|
||||
|
||||
|| 2000-02-29 2000-03-31
|
||||
===++========================
|
||||
|
@ -132,7 +132,7 @@ hledger -f- --pivot payee reg -D ^expense
|
||||
assets:bank account
|
||||
expense:grocery 30 EUR
|
||||
>>>
|
||||
2016/02/16 Auchan 22 EUR 22 EUR
|
||||
2016-02-16 Auchan 22 EUR 22 EUR
|
||||
StarBars 5 EUR 27 EUR
|
||||
2016/02/17 Auchan 30 EUR 57 EUR
|
||||
2016-02-17 Auchan 30 EUR 57 EUR
|
||||
>>>=0
|
||||
|
@ -43,8 +43,8 @@ hledger -f - register aa --depth 1 --daily
|
||||
a:aa 1
|
||||
b:bb:bbb
|
||||
>>>
|
||||
2010/01/01 a 2 2
|
||||
2010/01/02 a 1 3
|
||||
2010-01-01 a 2 2
|
||||
2010-01-02 a 1 3
|
||||
>>>=0
|
||||
|
||||
# 4. with --cleared
|
||||
@ -75,7 +75,7 @@ hledger -f - register --depth 0 --daily a b
|
||||
b:bb 2
|
||||
c:cc
|
||||
>>>
|
||||
2010/01/01 ... 6 6
|
||||
2010/01/02 ... 3 9
|
||||
2010-01-01 ... 6 6
|
||||
2010-01-02 ... 3 9
|
||||
>>>=0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user