fuzzydate-cli 0.3.1

Command line interface to the fuzzydate library
fuzzydate-cli-0.3.1 is not a library.

fuzzydate-cli

fuzzydate-cli on crates.io

A tiny command-line wrapper around the fuzzydate library that parses human-friendly date/time phrases and prints a formatted chrono datetime.

Quick Links

fuzzydate parses human-friendly date/time phrases (for example: "five days after this Friday", "tomorrow at noon", "3 weeks ago") and returns chrono datetimes.

Quick links

Install

cargo install fuzzydate-cli --locked

Usage

Fuzzydate parses human-friendly phrases into chrono datetimes. 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