stevedonovan / chrono-english

Converting informal English dates (like `date` command) to chrono DateTime in Rust
MIT License
57 stars 14 forks source link

Support specifying hour (e.g. 6:15pm) #1

Open chdsbd opened 6 years ago

chdsbd commented 6 years ago

Currently, parsing a string like "6:15pm" raises an error. I think it would be nice if this was parsed as 6:15pm, on the day of the base date.

Here is a simple test case: https://gist.github.com/19557909b3031b176393e74b1dc889c3

stevedonovan commented 6 years ago

Yes, that's definitely something I'd like to support....