From 04993972cea1a8bc59740bc60381b2e7bf8aebbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 19 Aug 2022 14:21:57 +0200 Subject: [PATCH] fix(hora): include last day of period for reports --- configs/hledger.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/hledger.nix b/configs/hledger.nix index ae88b37..f2fab0d 100644 --- a/configs/hledger.nix +++ b/configs/hledger.nix @@ -17,7 +17,7 @@ (pkgs.writers.writeDashBin "hora-filli" '' ${pkgs.hledger}/bin/hledger -f "${timeLedger}" register fillidefilla -O csv \ -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' \ | xsv select date,amount,total,account,description '')