diff --git a/src/types/timezone.jl b/src/types/timezone.jl index ce2655ada..b6f9cba87 100644 --- a/src/types/timezone.jl +++ b/src/types/timezone.jl @@ -74,12 +74,6 @@ function TimeZone(str::AbstractString, mask::Class=Class(:DEFAULT)) tz, class = get(_TZ_CACHE, str) do if occursin(FIXED_TIME_ZONE_REGEX, str) FixedTimeZone(str), Class(:FIXED) - elseif !isdir(_COMPILED_DIR[]) || isempty(readdir(_COMPILED_DIR[])) - # Note: Julia 1.0 supresses the build logs which can hide issues in time zone - # compliation which result in no tzdata time zones being available. - throw(ArgumentError( - "Unable to find time zone \"$str\". Try running `TimeZones.build()`." - )) else throw(ArgumentError("Unknown time zone \"$str\"")) end