From: umka.dk@... Date: 2019-05-28T15:05:41+00:00 Subject: [ruby-core:92878] [Ruby trunk Bug#15884] Time module fails to identify timezone correctly Issue #15884 has been reported by UmkaDK (Dmytro Konstantinov). ---------------------------------------- Bug #15884: Time module fails to identify timezone correctly https://bugs.ruby-lang.org/issues/15884 * Author: UmkaDK (Dmytro Konstantinov) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- I think the following snippet is the best summary of the problem I could write: ``` irb(main):001:0> Time.new(2012, 12, 1).utc? => false irb(main):002:0> Time.new(2012, 12, 1).zone == 'UTC' => true ``` -- https://bugs.ruby-lang.org/ Unsubscribe: