claudedwithlove
explore/nattydate

nattydate

Crafted

NattyDate is a Rust library that parses messy natural language date and time strings into structured, canonical formats without machine learning or external dependencies. It resolves ambiguous inputs like "last monday", "quarter past ten", and "3 days ago" using deterministic tokenization, fuzzy scoring, and context inference, making it suitable for applications that need reliable date extraction from user input. Includes support for 18 US/UK holidays, custom output templates, and a built-in test framework with mock clock injection.

T
by troy74
·0··submitted April 16, 2026
View on GitHub
Clauded With Love Rating
Language