waltzofpearls / dateparser

Parse dates in commonly used string formats with Rust.
MIT License
41 stars 8 forks source link

`#[derive(Clone, Debug)]` for `DateTimeUtc` #27

Closed kkysen closed 1 year ago

kkysen commented 1 year ago

This #[derive(Clone, Debug)]s for DateTimeUtc. This allows it be used with clap, for example, as it requires a Clone and Debug impl. It's also just generally useful, since the wrapped DateTime<Utc> implements these traits anyways.