-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Hi, it appears that TimeZones throws out errors for some UNIX/LINUX systems where the timezone handling might be slightly different.
Is there any way to improve upon TimeZones handling of different formats?
julia> using Memento
ERROR: InitError: ArgumentError: Unhandled TZ environment variable format: "EST5EDT,M3.2.0,M11.1.0"
Stacktrace:
[1] parse_tz_format(::String) at /n/home07/nwong/.julia/packages/TimeZones/A5RcB/src/local.jl:170
[2] localzone() at /n/home07/nwong/.julia/packages/TimeZones/A5RcB/src/local.jl:43
[3] Type at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/formatters.jl:35 [inlined]
[4] #config!#71(::String, ::Dict{AbstractString,Int64}, ::Bool, ::Bool, ::Bool, ::Bool, ::typeof(Memento.config!), ::Memento.Logger, ::String) at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:39
[5] config! at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:36 [inlined]
[6] #config!#70 at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:28 [inlined]
[7] config! at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:28 [inlined]
[8] #config!#69 at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:25 [inlined]
[9] config! at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/config.jl:25 [inlined]
[10] init() at /n/home07/nwong/.julia/packages/Memento/UgJr2/src/Memento.jl:62
[11] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:685
[12] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:765
[13] _require(::Base.PkgId) at ./loading.jl:990
[14] require(::Base.PkgId) at ./loading.jl:911
[15] require(::Module, ::Symbol) at ./loading.jl:906
during initialization of module Memento
Please see the InitError argument on the first few lines. Although this is an error caused by Memento, the root cause is due to the TimeZone variable.