Skip to content
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

Timezone format for Bogota is wrong #68

Closed
cpovey opened this issue Mar 31, 2017 · 1 comment
Closed

Timezone format for Bogota is wrong #68

cpovey opened this issue Mar 31, 2017 · 1 comment

Comments

@cpovey
Copy link

@cpovey cpovey commented Mar 31, 2017

It appears that the 3-letter format string for the "Bogota" timezone has changed from "COT" to "-05" in the latest version. All other timezones tested appear correct. I dug into the latest database (https://www.iana.org/time-zones) and searched for in the southamerica file and could not find "COT" anywhere. Here is the entry for Bogota:

# Colombia

# Milne gives 4:56:16.4 for Bogotá time in 1899; round to nearest.  He writes,
# "A variation of fifteen minutes in the public clocks of Bogota is not rare."

# Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
Rule	CO	1992	only	-	May	 3	0:00	1:00	S
Rule	CO	1993	only	-	Apr	 4	0:00	0	-
# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
Zone	America/Bogota	-4:56:16 -	LMT	1884 Mar 13
			-4:56:16 -	BMT	1914 Nov 23 # Bogotá Mean Time
			-5:00	CO	-05/-04

Other timezones have the correct 3-letter abbreviation in the place where -05/-04 is. Does anyone know how to submit this as a bug?

@philr
Copy link
Member

@philr philr commented Mar 31, 2017

Issues with the IANA Time Zone Database should be discussed on the tz mailing list.

TZInfo just returns information from the database unchanged.

The abbreviation for America/Bogota was changed from "COT" to "-05" in version 2017a of the Time Zone Database (commit eggert/tz@c9e6ef0):

Switch to numeric time zone abbreviations for South America, as part of the ongoing project of removing invented abbreviations.

It looks like "COT" was considered to be a made up abbreviation (COlumbia Time) that is not used locally and was therefore changed to a numeric value. If you think this is an error, then I'd suggest opening a discussion on the tz mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.