From: peter.yates@... Date: 2015-04-07T14:44:14+00:00 Subject: [ruby-core:68785] [Ruby trunk - Bug #11042] [Open] Timezone boundary is different between versions 2.2.0 and 2.2.1 Issue #11042 has been reported by Peter Yates. ---------------------------------------- Bug #11042: Timezone boundary is different between versions 2.2.0 and 2.2.1 https://bugs.ruby-lang.org/issues/11042 * Author: Peter Yates * Status: Open * Priority: Normal * Assignee: * ruby -v: 2.2.1 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/