hledger/hledger-lib/Hledger/Read
Simon Michael fae6e49407 imp: simpler, clearer date parse error messages
When the error message repeated the invalid date at the end,
it was possible to misinterpret that as a suggested fix (reported in chat).

Instead, date errors (most of them) now rely on the highlighted data
excerpt above. This is also preferable since it shows the original
date as written, not a reconstruction with a possibly different format.

Should this be the policy for all error messages going forward ?
It would be easier.
Can we assume the data excerpt is always visible along with the error message ?
It isn't shown by flycheck-hledger in emacs, eg.
2024-03-26 10:05:57 -10:00
..
Common.hs imp: simpler, clearer date parse error messages 2024-03-26 10:05:57 -10:00
CsvReader.hs imp: Support tsv and ssv prefixes (#2164) 2024-02-08 06:44:44 -10:00
CsvUtils.hs feat: cli: Add tsv output (#869) 2023-11-06 16:46:04 -08:00
InputOptions.hs fix:--anon: now hidden, gives an error, still usable as --obfuscate [#2133] 2024-01-21 11:59:11 -10:00
JournalReader.hs imp:journal: use a symlink's target's directory for relative include paths 2024-02-22 08:48:31 -10:00
LedgerReader.hs.disabled debug: move command parsing debug output down to level 8 2020-07-03 11:37:01 -07:00
RulesReader.hs ;dev:lib allow comment lines in the "if" table body 2024-03-08 07:42:58 -10:00
TimeclockReader.hs imp: Support tsv and ssv prefixes (#2164) 2024-02-08 06:44:44 -10:00
TimedotReader.hs imp: Support tsv and ssv prefixes (#2164) 2024-02-08 06:44:44 -10:00