commit 70b896ac29dbc0334e9d2671cffdebd2d54938d6 parent 642c0bfae72a4268efe2d93ae50250ca7f62b3f2 Author: Alex Balgavy <alex@balgavy.eu> Date: Mon, 21 Mar 2022 16:20:24 +0100 emacs: ledger week should start from monday Diffstat:
M | emacs/config.org | | | 32 | ++++++++++++++++---------------- |
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -885,22 +885,22 @@ Custom reports: #+begin_src emacs-lisp (custom-set-variables '(ledger-reports - '(("budget-last-month" "ledger -f %(ledger-file) --period \"last month\" budget ^expenses -X eur") - ("budget-this-month" "ledger -f %(ledger-file) --period \"this month\" budget ^expenses -X eur") - ("expenses-this-month-vs-budget" "ledger -f %(ledger-file) --period \"this month\" --period-sort \"(amount)\" bal ^expenses -X eur --budget") - ("expenses-last-month-vs-budget" "ledger -f %(ledger-file) --period \"last month\" --period-sort \"(amount)\" bal ^expenses -X eur --budget") - ("expenses-vs-income-last-month" "ledger -f %(ledger-file) --period \"last month\" --period-sort \"(amount)\" bal ^expenses ^income -X eur") - ("expenses-last-month" "ledger -f %(ledger-file) --period \"last month\" --period-sort \"(amount)\" bal ^expenses -X eur") - ("expenses-this-month" "ledger -f %(ledger-file) --period \"this month\" --period-sort \"(amount)\" bal ^expenses -X eur") - ("expenses-vs-income-this-month" "ledger -f %(ledger-file) --period \"this month\" --period-sort \"(amount)\" bal ^income ^expenses -X eur") - ("expenses-this-month" "ledger -f %(ledger-file) --period \"this month\" --period-sort \"(amount)\" bal ^income ^expenses -X eur") - ("bal-assets-czk" "ledger [[ledger-mode-flags]] -f %(ledger-file) bal Assets Liabilities -X czk") - ("bal-assets" "ledger [[ledger-mode-flags]] -f %(ledger-file) bal Assets Liabilities") - ("bal" "ledger [[ledger-mode-flags]] -f %(ledger-file) bal -B") - ("bal-assets-eur" "ledger [[ledger-mode-flags]] -f %(ledger-file) bal Assets Liabilities -X eur") - ("reg" "%(binary) -f %(ledger-file) reg") - ("payee" "%(binary) -f %(ledger-file) reg @%(payee)") - ("account" "%(binary) -f %(ledger-file) reg %(account)"))) + '(("budget-last-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"last month\" budget ^expenses -X eur") + ("budget-this-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"this month\" budget ^expenses -X eur") + ("expenses-this-month-vs-budget" "ledger -f %(ledger-file) --start-of-week=1 --period \"this month\" --period-sort \"(amount)\" bal ^expenses -X eur --budget") + ("expenses-last-month-vs-budget" "ledger -f %(ledger-file) --start-of-week=1 --period \"last month\" --period-sort \"(amount)\" bal ^expenses -X eur --budget") + ("expenses-vs-income-last-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"last month\" --period-sort \"(amount)\" bal ^expenses ^income -X eur") + ("expenses-last-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"last month\" --period-sort \"(amount)\" bal ^expenses -X eur") + ("expenses-this-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"this month\" --period-sort \"(amount)\" bal ^expenses -X eur") + ("expenses-vs-income-this-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"this month\" --period-sort \"(amount)\" bal ^income ^expenses -X eur") + ("expenses-this-month" "ledger -f %(ledger-file) --start-of-week=1 --period \"this month\" --period-sort \"(amount)\" bal ^income ^expenses -X eur") + ("bal-assets-czk" "ledger [[ledger-mode-flags]] -f %(ledger-file) --start-of-week=1 bal Assets Liabilities -X czk") + ("bal-assets" "ledger [[ledger-mode-flags]] -f %(ledger-file) --start-of-week=1 bal Assets Liabilities") + ("bal" "ledger [[ledger-mode-flags]] -f %(ledger-file) --start-of-week=1 bal -B") + ("bal-assets-eur" "ledger [[ledger-mode-flags]] -f %(ledger-file) --start-of-week=1 bal Assets Liabilities -X eur") + ("reg" "%(binary) -f %(ledger-file) --start-of-week=1 reg") + ("payee" "%(binary) -f %(ledger-file) --start-of-week=1 reg @%(payee)") + ("account" "%(binary) -f %(ledger-file) --start-of-week=1 reg %(account)"))) ) #+end_src ** osm