Maybe this is what you’re looking for.
Dates.canonicalize(Dates.CompoundPeriod(t2-t1))
It is for Julia 0.6+ I think. Any reason you’re sticking with 0.5?
Maybe this is what you’re looking for.
Dates.canonicalize(Dates.CompoundPeriod(t2-t1))
It is for Julia 0.6+ I think. Any reason you’re sticking with 0.5?