Actions
Bug #11042
closedTimezone boundary is different between versions 2.2.0 and 2.2.1
    Bug #11042:
    Timezone boundary is different between versions 2.2.0 and 2.2.1
  
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
2.2.1
Description
In Ruby 2.2.1 the timezone boundary for BST->GMT in the UK appears to be at 1am:
[1] pry ~ »  Time.new(2013, 10, 27, 0, 59).localtime.dst?
true
[2] pry ~ »  Time.new(2013, 10, 27, 1, 0).localtime.dst?
false
In Ruby 2.2.0 it is at 2am:
[1] pry ~ »  Time.new(2013, 10, 27, 1, 59).localtime.dst?
true
[2] pry ~ »  Time.new(2013, 10, 27, 2, 0).localtime.dst?
false
It appears that in 2.2.0 is correct according to the UK Government: https://www.gov.uk/when-do-the-clocks-change.
Having discussed this in IRC it would appear that 2.2.1's behaviour is the same as in 2.0.0 and 2.1.5.
I tested both with version 1.2.2 of the tzinfo gem installed.
Actions