stevedonovan / chrono-english

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

Improve usability #26

Open HarrisonMc555 opened 11 months ago

HarrisonMc555 commented 11 months ago

I was using this library and ran into some issues. For example, I couldn't create my own DateErrors and I couldn't clone an Interval.

This pull request makes the date_error and date_result items public and adds several trait derivations to the public structs/enums.

The other changes are from running rustfmt, which is included in #25.