hledger/hledger-lib
Dmitry Astapov 7acb5d45aa lib: make month names in period expressions case-insensitive
Currently only lower-case account names are supported, both on the
command line, and in the journal (in periodic transactions):

This works:
$ hledger balance -p nov

This does not:
$ hledger balance -p Nov

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
```

$../bin/hledger-budget bal -f every-month.journal
hledger-budget: Failed to parse "Aug to Sep": date parse error ()

This commit fixes both cases.
2017-11-26 00:25:08 +00:00
..
doc doc: csv: expand description part, include examples 2017-11-05 17:30:31 -08:00
Hledger lib: make month names in period expressions case-insensitive 2017-11-26 00:25:08 +00:00
other/ledger-parse lib: restrict imports, avoiding GHCI clashes 2016-11-20 10:27:16 -08:00
tests lib: doctests: fix unused import warning 2017-09-08 10:58:13 -07:00
Text/Megaparsec lib: refactor 2017-07-31 07:09:06 -07:00
.ghci tools: .ghci for each package, sets shorter prompt 2016-04-15 16:06:45 -07:00
CHANGES doc: draft 1.4 changelogs 2017-09-26 16:22:30 -10:00
hledger-lib.cabal lib,cli,ui,web: allow megaparsec 6.2 2017-10-01 09:49:51 -10:00
Hledger.hs prettify/hlint 2016-02-20 20:12:02 -08:00
LICENSE split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00
package.yaml lib,cli,ui,web: allow megaparsec 6.2 2017-10-01 09:49:51 -10:00
README doc: ensure all five main packages have a README 2016-04-12 11:13:01 -07:00
Setup.hs Revert "remove Setup.hs files again, fixing a yesod devel warning" 2014-05-24 13:39:09 -07:00

A reusable library containing hledger's core functionality.
This is used by most hledger* packages for common data parsing,
command line option handling, reporting etc.