fuzzydate-cli

Crates.iofuzzydate-cli
lib.rsfuzzydate-cli
version0.3.1
created_at2025-11-26 21:40:58.154426+00
updated_at2025-11-27 04:02:54.562864+00
descriptionCommand line interface to the fuzzydate library
homepage
repositoryhttps://github.com/DevinVS/fuzzydate
max_upload_size
id1952396
size19,157
Connor Keane (Kxnr)

documentation

README

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
Commit count: 69

cargo fmt