Created
November 24, 2017 23:09
-
-
Save adept/7b532328bdd4aef930a99a63cf53f68b to your computer and use it in GitHub Desktop.
parsePeriodExpr accepts lowercased input only, which is not ok for period transactions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First transaction will parse, second will not: | |
``` | |
cat every-month.journal ~/devel/haskell/darcs-get/hledger/examples | |
~ aug to sep | |
assets | |
expenses $1 | |
~ Aug to Sep | |
assets | |
expenses $2 | |
``` | |
Demo: | |
``` | |
../bin/hledger-budget bal -f every-month.journal ~/devel/haskell/darcs-get/hledger/examples | |
hledger-budget: Failed to parse "Aug to Sep": date parse error () | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment