mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(hora): include last day of period for reports
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
(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)-20 last month" +%Y-%m-%d)" \
|
||||||
-e "$(date -d "$(date +%Y-%m)-19" +%Y-%m-%d)" \
|
-e "$(date -d "$(date +%Y-%m)-20" +%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