hledger/hledger-lib/Hledger
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
..
Data fix:queries: fix OR-ing open-ended dates, spanUnion; add spanExtend [#2177] 2024-03-01 18:10:24 -10:00
Read imp: simpler, clearer date parse error messages 2024-03-26 10:05:57 -10:00
Reports fix: Fill totals with correct amount of zeroes for empty reports 2024-03-17 10:52:53 -10:00
Utils dev: fix some partial head/tails, silence ghc 9.8's new warnings 2024-02-28 15:58:21 -10:00
Data.hs ref: move journal checking/pretty errors down further, to Hledger.Data 2022-05-21 18:29:13 -10:00
Query.hs dev: fix some partial head/tails, silence ghc 9.8's new warnings 2024-02-28 15:58:21 -10:00
Read.hs ;imp:cli:errors: make file-not-found error more format agnostic 2024-02-26 10:25:22 -10:00
Reports.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Utils.hs imp: more precision handling fixes, debug output, test updates (precisiongeddon) 2023-11-08 13:59:18 -08:00