-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Using deprecated time zone names as main group names? #153
Comments
The group name should definitely be the main time zone name indeed, not the deprecated ones. I guess I missed that when I initially built the library. Accepting PR solving this, thanks! |
There are 3 sort of statuses a time zone name can be in (Wikipedia).
tzdb would need to be able to determine what status a name is in for this change, so I tried to hunt down how Wikipedia determined these statuses. It seems that everything originates from the IANA Time Zone Database, and more specifically:
Based on IANA's download suggestions, we should be able to download the data with the following commands: wget https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz
gzip -dc tzdata-latest.tar.gz | tar -xf - It's also available directly through HTTPS here. I imagine the tzdb's
|
According to the The Wikipedia list of IANA time zones, the "America/Godthab" time zone has been deprecated and should be replaced with "America/Nuuk".
I noticed tzdb is using "America/Godthab" as one of the main time zone names.
EDIT: I noticed "Africa/Lome" is being used as the main name of the time zone group, even though it is an alias for "Africa/Abidjan".
I guess the question is, should deprecated time zone names be used as main group names? And secondly, should alias names be used as main group names? Should the group name not be the canonical one?
The text was updated successfully, but these errors were encountered: