-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide user friendly exceptions with deprecated time zones #469
Milestone
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed in #419 when a time zone becomes deprecated as "Europe/Amsterdam" was as of tzdata release 2022f they see the following error:
This error does not provide the user with the details of any possible replacement for the deprecated time zone. The
backward
region file contains this information and for 2022f it states that "Europe/Brussels" is the replacement for "Europe/Amsterdam". Providing this information to users would allow an easy upgrade path instead of having them rely on a legacy time zone viaTimeZones("Europe/Amsterdam", TimeZones.Class(:LEGACY))
or choose an alternate time zone which may be incorrect.The text was updated successfully, but these errors were encountered: