From: "jonys (Jonatan Hejzlar)" Date: 2013-05-27T16:04:46+09:00 Subject: [ruby-core:55172] [ruby-trunk - Bug #8454][Open] Date and Time compatibility Issue #8454 has been reported by jonys (Jonatan Hejzlar). ---------------------------------------- Bug #8454: Date and Time compatibility https://bugs.ruby-lang.org/issues/8454 Author: jonys (Jonatan Hejzlar) Status: Open Priority: Normal Assignee: Category: ext Target version: ruby -v: 2.0.0p195 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Time.to_datetime creates a DateTime object with the local timezone Date.to_datetime creates a DateTime object with the +0000 timezone As a result, Date.to_time.to_datetime gives a different result than Date.to_datetime. -- http://bugs.ruby-lang.org/