a Question about timezone 'America/Grenada'

Asked by Kenton Fletcher

Hello,

I 'am from the Island nation of Grenada and is trying to use the timezone 'America/Grenada' but I getting a -4:06 instead of a -4:00.
I have got around this problem by using 'Etc/GMT-4' instead, but I'am curious as to why the 'America/Grenada' timezone is - 4:06 instead of -4:00

Sincerely,

Kenton Fletcher

Question information

Language:
English Edit question
Status:
Solved
For:
pytz Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Look at the source https://git.launchpad.net/pytz/tree/tz/southamerica#n1688


# Trinidad and Tobago
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone America/Port_of_Spain -4:06:04 - LMT 1912 Mar 2
   -4:00 - AST

# These all agree with Trinidad and Tobago since 1970. …
Link America/Port_of_Spain America/Grenada

The same information is also available in the timezone database of IANA at https://www.iana.org/time-zones

I am not 100% sure how to interpret these lines, but for me it seems that up until March 2, 1912 there was local mean time in place (with 4 hrs 4 mins 6 secs deviation from UTC), but since that day it should be plain 4 hrs difference.

Revision history for this message
Kenton Fletcher (porkalust) said :
#2

Thanks for your answers.
 I guess I will have to continue using ''Etc/GMT-4'.

Revision history for this message
Kenton Fletcher (porkalust) said :
#3

Thanks Manfred Hampl, that solved my question.