The following code snipped prints True unless the machine is using UK time.
from datetime import datetime
from dateutil.parser import parse
from dateutil.tz import tzutc
d1 = datetime(2002, 10, 2, 13, 0, tzinfo=tzutc())
d2 = parse('Wed, 02 Oct 2002 13:00:00 GMT')
print(d1 == d2)
It appears that at this point in the parse function, the parser sees that local time is one of ('GMT', 'BST') because in the Summer the UK uses BST (GMT+1).
Source issue: boto/botocore#1070
The following code snipped prints
Trueunless the machine is using UK time.It appears that at this point in the parse function, the parser sees that local time is one of
('GMT', 'BST')because in the Summer the UK uses BST (GMT+1).Source issue: boto/botocore#1070