[#74190] [Ruby trunk Feature#12134] Comparison between `true` and `false` — duerst@...
SXNzdWUgIzEyMTM0IGhhcyBiZWVuIHVwZGF0ZWQgYnkgTWFydGluIETDvHJzdC4KCgpUc3V5b3No
3 messages
2016/03/07
[#74269] Type systems for Ruby — Rob Blanco <ml@...>
Dear ruby-core,
5 messages
2016/03/10
[#74395] [Ruby trunk Feature#12142] Hash tables with open addressing — shyouhei@...
Issue #12142 has been updated by Shyouhei Urabe.
3 messages
2016/03/17
[ruby-core:74189] [Ruby trunk Bug#12147] Time::local returns incorrect ending of US DST
From:
mitchellryanj@...
Date:
2016-03-07 04:27:49 UTC
List:
ruby-core #74189
Issue #12147 has been reported by Ryan Mitchell. ---------------------------------------- Bug #12147: Time::local returns incorrect ending of US DST https://bugs.ruby-lang.org/issues/12147 * Author: Ryan Mitchell * Status: Open * Priority: Normal * Assignee: Akira Tanaka * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- In 2016, US Daylight Saving Time ends at 2:00 AM on November 6. In the America/Los_Angeles timezone, this means going from an offset from UTC of -0700 to an offset of -0800. So 1:00 AM on that date is still in DST, with an offset from UTC of -0700. But Time::local begins returning the new offset at 1:00 AM instead of 2:00 AM. The offset of times at midnight and at 2:00 AM are returned correctly: ~~~ 2.3.0 :020 > Time.local(2016, 11, 6, 0) => 2016-11-06 00:00:00 -0700 2.3.0 :021 > Time.local(2016, 11, 6, 1) => 2016-11-06 01:00:00 -0800 2.3.0 :022 > Time.local(2016, 11, 6, 2) => 2016-11-06 02:00:00 -0800 ~~~ This behaves correctly in Ruby 2.2.0 and it looks possibly related to https://bugs.ruby-lang.org/issues/10698. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>