Welcome
"When" is a natural language date/time parser with pluggable rules written in Rust, it's source code can be found
here, this server source code is here
Try various requests
or pass your own requests here and see the parse results in JSON format.
P.S. Use /when/get_unix handler if you want result to be a unix timestamp.
Supported get-parameters
input - input string
tz - define a timezone, for instance tz=Europe/Paris (default is Europe/Moscow)
exact_match - enable/disable exact words matching when parsing, if disabled - applies Damerau–Levenshtein distance to
recognize words with simple typos (default is disabled)
dist - maximum merge distance (default is 5)