Closed virtualritz closed 1 year ago
Using Tz in structs makes it impossible to derive Default since it is not implemented.
Tz
Default
Current options I see:
MyTz(Tz)
chrono-tz
Would you consider a PR that implements Tz::default() (would return Tz::UTC)?
Tz::default()
Tz::UTC
I opened a PR for this.
Any feedback on my PR? Pros/cons?
Implemented via #134.
Using
Tz
in structs makes it impossible to deriveDefault
since it is not implemented.Current options I see:
MyTz(Tz)
wrapper and implementDefault
for that.chrono-tz
.Would you consider a PR that implements
Tz::default()
(would returnTz::UTC
)?