File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ using Dates
44using Printf
55using Serialization
66using RecipesBase: RecipesBase, @recipe
7- using ShortStrings: ShortString15
7+ using ShortStrings: ShortString15, ShortString63
88using Unicode
99
1010import Dates: TimeZone, UTC
Original file line number Diff line number Diff line change 55
66Base. isless (a:: Transition , b:: Transition ) = isless (a. utc_datetime, b. utc_datetime)
77
8+ # Ideally would always use ShortString63, but it's `hash` is broken on 32-bit systems.
9+ # https://github.com/JuliaString/MurmurHash3.jl/issues/12
10+ const VariableZoneName = Int === Int64 ? ShortString63 : String
11+
812"""
913 VariableTimeZone
1014
1115A `TimeZone` with an offset that changes over time.
1216"""
1317struct VariableTimeZone <: TimeZone
14- name:: String
18+ name:: VariableZoneName
1519 transitions:: Vector{Transition}
1620 cutoff:: Union{DateTime,Nothing}
1721
You can’t perform that action at this time.
0 commit comments