Make `DateTime(::TimeDate)` and `ZonedDateTime(::TimeDateZone)`
omus opened this issue · 2 comments
omus commented
You could simplify and reduce duplicate code if you made the following functions:
DateTime(::TimeDate)
ZonedDateTime(::TimeDateZone)
For example you could use ZonedDateTime(::TimeDateZone)
to remove several lines from your astimezone
:
TimesDates.jl/src/timezone/astimezone.jl
Lines 7 to 10 in cdd6105
JeffreySarnoff commented
thanks
JeffreySarnoff commented
followed