3 releases (breaking)
Uses new Rust 2024
| 0.3.0 | Dec 27, 2025 |
|---|---|
| 0.2.0 | Oct 15, 2025 |
| 0.1.3 | Oct 15, 2025 |
#753 in Date and time
61KB
1.5K
SLoC
Natural Date Parser
A parser to convert natural language date and time specification into a DateTime.
The parser recognizes a variety of phrases related to dates and times, such as "next Monday," "tomorrow at 5 PM," or "3 weeks from now." This parser converts these expressions into structured DateTime objects, making them usable in scheduling applications, reminders, or other time-based software.
- Simple Relative Dates: "today," "tomorrow," "yesterday."
- Day of the Week Expressions: "next Monday," "last Friday."
- Complex Relative Time Expressions: "in 3 days," "2 weeks from now," "4 months ago."
- Combined Date and Time Expressions: "next Thursday at 10 AM," "tomorrow at 5:30 PM."
Dependencies
~3–4MB
~74K SLoC