Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't get canonical zone #97
Hi, I'm trying to get a canonical timezone, for example from
The source is ok:
Am I doing something wrong?
TZInfo::DataSource.get # => #<TZInfo::DataSources::RubyDataSource: tzdb v2018i, tzinfo-data v1.2018.9> TZInfo::Timezone.get("Europe/Skopje").canonical_zone # => #<TZInfo::DataTimezone: Europe/Belgrade>
If you install tzinfo-data (or add it to your Gemfile), then you should get the correct result (which is actually Europe/Belgrade).
It is mentioned in the documentation for the