fuzzydate
fuzzydate parses human-friendly date/time phrases (for example: "five days after this Friday", "tomorrow at noon", "3 weeks ago") and returns chrono datetimes. The current time (or a passed alternative), 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. By default, fuzzydate uses the current time and system timezone.
Quick links
Install
Add to your Cargo.toml:
[]
= "0.3"
Examples
For full grammar reference, see the documentation.
use parse;
Additional functions are available to parse datetimes with an alternative current time and parse in a timezone other than the system timezone:
use aware_parse;
use Utc;
use *;