A library to fuzzily parse date and time strings https://shinmera.com/docs/fuzzy-dates
  • Common Lisp 100%
2026-01-27 10:46:36 +01:00
docs Doc update 2025-08-20 16:06:15 +02:00
documentation.lisp Add explicit parse-date to properly parse such cases. 2024-04-06 10:36:51 +02:00
fuzzy-dates.asd Update linkage 2025-08-11 21:20:55 +02:00
fuzzy-dates.lisp Kludge for ECL. 2026-01-27 10:46:36 +01:00
LICENSE Init 2023-09-15 23:54:09 +02:00
package.lisp Add explicit parse-date to properly parse such cases. 2024-04-06 10:36:51 +02:00
README.mess Cleanup, docstrings 2023-09-16 10:38:40 +02:00
test.lisp Fix #1 2023-11-16 11:27:10 +01:00
tz.txt Init 2023-09-15 23:54:09 +02:00

# About Fuzzy-Dates
This is a small library to very fuzzily parse time and date strings into a universal-time timestamp. Among the fuzzily supported formats are:

- Forwards and backwards relative stamps
- Clocks
- RFC1123
- RFC3339
- ISO8661
- Weekdays and months
- UNIX timestamps

In short, it should parse a lot of what you throw at it and give you a reasonable timestamp for it. Note that while this does make this parsing rather suitable for parsing human input, there's still ambiguities that cannot be resolved, such as whether the user thinks dates are YMD, DMY, or MDY, and the human mind's ingenuity in coming up with new ways to write dates and times can't all be accounted for, so there are definitely timestamps that we can understand, which this library won't be able to parse or will parse different to how we understand it.