Closed Azzaare closed 3 years ago
On master, you can call today(; now = ZonedDateTime(something))
and it will use the given timezone (and disregard localzone()
). Also, you can set a default local timezone, i.e. make the change permanent, via set_local_timezone(tz::AbstractString)
. There is also reset_local_timezone()
to go back to using your localzone()
.
(I will make more timezone related changes and update the README later.)
Oh great, I will switch to master then! Thanks @crstnbr
@Azzaare I tagged a new release.
Thank you for the new TimeZone options!
I am facing a little trouble to output the result of
today
in something else that the timezone local to my computer. Would it be possible to add that option (or to have it automated when callingtoday(now = ZonedDateTime(something))
For a given
z::ZonedDateTime
, the timezone can be accessed asz.timezone