From: umka.dk@... Date: 2019-05-30T12:16:44+00:00 Subject: [ruby-core:92887] [Ruby trunk Bug#15884] Time module fails to identify timezone correctly Issue #15884 has been updated by UmkaDK (Dmytro Konstantinov). Thanks for such a good explanation John! What you said makes perfect sense so I'm happy to close this as "invalid", or whatever is the most appropriate status. Unfortunately, I don't seem to be able to update the Status on this ticket. ---------------------------------------- Bug #15884: Time module fails to identify timezone correctly https://bugs.ruby-lang.org/issues/15884#change-78266 * 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: