Parses strings that express dates in a human way into ones usable by code.
Using it is as simple as calling from_human_time
with a string slice. Like this:
```rust use humandateparser::fromhumantime;
fn main() { let date = fromhumantime("Last Friday at 19:45").unwrap(); println!("{date}"); } ```
You can also use the example to try out a few dates and see what it can and can't parse. Simply run cargo run --example stdin
.
Currently the following kind of formats are supported:
If you find issues or opportunities for improvement do let me know by creating a issues on this projects GitHub page.