chronotope / chrono-tz

TimeZone implementations for rust-chrono from the IANA database
Other
235 stars 56 forks source link

Implement Default for Tz #92

Closed virtualritz closed 1 year ago

virtualritz commented 2 years ago

Using Tz in structs makes it impossible to derive Default since it is not implemented.

Current options I see:

Would you consider a PR that implements Tz::default() (would return Tz::UTC)?

virtualritz commented 2 years ago

I opened a PR for this.

virtualritz commented 2 years ago

Any feedback on my PR? Pros/cons?

virtualritz commented 1 year ago

Implemented via #134.