diff --git a/configs/hledger.nix b/configs/hledger.nix index 54e3ad5..342c9dc 100644 --- a/configs/hledger.nix +++ b/configs/hledger.nix @@ -17,8 +17,8 @@ '') (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)-20" +%Y-%m-%d)" \ + -b "$(date -d "$(date +%Y-%m)-01 last month" +%Y-%m-%d)" \ + -e "$(date -d "$(date +%Y-%m)-01" +%Y-%m-%d)" \ | sed 's/(fillidefilla:\(.*\))/\1/g' \ | xsv select date,amount,total,account,description '')