TimeZones.jl icon indicating copy to clipboard operation
TimeZones.jl copied to clipboard

Compiled FixedTimeZone name

Open omus opened this issue 8 years ago • 1 comments

When compiling a TimeZone which only contains a single transition without a cutoff we create a FixedTimeZone instead of a VariableTimeZone. When we do this we have a choice whether to use the zone name ("Etc/GMT") or the abbreviation ("GMT") if available. Using the abbreviations works better for working with Links since all of the linked zones will be equal but other Zones use a numeric offset for the abbreviation which is not what we want to use.

Options:

  • Default to using abbreviation. Use zone name only when abbreviation is an offset.
  • Always use the zone name and change == to ignore the name

omus avatar Apr 11 '17 18:04 omus

Note that you only really observe this issue with the "etcetera" tz source file.

omus avatar Apr 11 '17 18:04 omus