chrono-tz
chrono-tz copied to clipboard
Implement Default for Tz
Using Tz
in structs makes it impossible to derive Default
since it is not implemented.
Current options I see:
- Make a local
MyTz(Tz)
wrapper and implementDefault
for that. - Maintain a branch of
chrono-tz
.
Would you consider a PR that implements Tz::default()
(would return Tz::UTC
)?
I opened a PR for this.
Any feedback on my PR? Pros/cons?
Implemented via #134.