mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
feat(hora-filli): first of month
This commit is contained in:
@@ -17,8 +17,8 @@
|
|||||||
'')
|
'')
|
||||||
(pkgs.writers.writeDashBin "hora-filli" ''
|
(pkgs.writers.writeDashBin "hora-filli" ''
|
||||||
${pkgs.hledger}/bin/hledger -f "${timeLedger}" register fillidefilla -O csv \
|
${pkgs.hledger}/bin/hledger -f "${timeLedger}" register fillidefilla -O csv \
|
||||||
-b "$(date -d "$(date +%Y-%m)-20 last month" +%Y-%m-%d)" \
|
-b "$(date -d "$(date +%Y-%m)-01 last month" +%Y-%m-%d)" \
|
||||||
-e "$(date -d "$(date +%Y-%m)-20" +%Y-%m-%d)" \
|
-e "$(date -d "$(date +%Y-%m)-01" +%Y-%m-%d)" \
|
||||||
| sed 's/(fillidefilla:\(.*\))/\1/g' \
|
| sed 's/(fillidefilla:\(.*\))/\1/g' \
|
||||||
| xsv select date,amount,total,account,description
|
| xsv select date,amount,total,account,description
|
||||||
'')
|
'')
|
||||||
|
|||||||
Reference in New Issue
Block a user