hledger/hledger-lib/Hledger/Data
Simon Michael c31710d942 look harder for decimal point & digit groups (fixes #196)
Amount display styles have been reworked a bit; they are now calculated
after journal parsing, not during it. This allows the fix for #196:
we now search through the amounts until a decimal point is detected,
instead of just looking at the first one; likewise for digit groups.
Digit groups are now implemented with a better type.

Digit group size detection has been improved a little:
1000,000 now gives group sizes [3,4,4,...], not [3,3,...], and
10,000 gives groups sizes [3,3,...] not [3,2,2,..].
(To get [3,2,2,...] you'd use eg 00,00,000.)

There are still some old (or new ?) issues; I don't think we handle
inconsistent decimal points & digit groups too well. But for now all
tests pass.
2014-07-02 23:26:16 -07:00
..
Account.hs remove out of date comment 2014-04-03 18:55:43 -07:00
AccountName.hs balance report speedup 2012-10-21 17:18:18 +00:00
Amount.hs look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00
Commodity.hs journal: really don't parse + before an amount as part of the commodity (fixes #181 harder) 2014-04-30 11:28:47 -07:00
Dates.hs note potentially useful interval algebra link 2014-04-19 11:45:47 -07:00
Journal.hs look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00
Ledger.hs refactor amount filtering helpers 2014-05-23 13:10:36 -07:00
OutputFormat.hs rename FormatString to OutputFormat 2014-03-02 13:33:56 -08:00
Posting.hs show posting dates in debug output 2014-05-06 21:35:38 -07:00
RawOptions.hs fix an error when running an addon with an argument containing a single quote 2014-04-15 11:45:30 -07:00
TimeLog.hs rename actual/effective dates to primary/secondary 2012-12-06 04:43:41 +00:00
Transaction.hs show posting dates in debug output 2014-05-06 21:35:38 -07:00
Types.hs look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00