3 unstable releases
| new 0.4.0 | Feb 4, 2026 |
|---|---|
| 0.3.1 | Nov 27, 2025 |
| 0.3.0 | Nov 26, 2025 |
#63 in Accessibility
110KB
2.5K
SLoC
fuzzydate-cli
This is a command line interface to the fuzzydate library, which parses human-friendly
date/time phrases (for example: "five days after this Friday", "tomorrow at noon", "3 weeks ago")
and prints timestamps in standard formats.
Quick links
Install
cargo install fuzzydate-cli --locked
Usage
Fuzzydate parses human-friendly phrases into timestamps. The current time (or --relative-to, if
passed), is used for any values not specified by the phrase and for any operations that are relative
to an existing time, like 5 days ago. For full grammar, see the library documentation.
See fuzzydate --help for information on supported options.
Simple phrase:
$ fuzzydate 5 minutes after friday at noon
2025-11-28T12:05:00-08:00
Change output format:
$ fuzzydate -f "%Y-%m-%d %H:%M" tomorrow at 9:30am
2025-11-29 09:30
Change time used as current time:
$ fuzzydate --relative-to 2025-11-27T08:00:00-08:00 tomorrow at noon
2025-11-28T12:00:00-08:00
Dependencies
~11MB
~132K SLoC