From: akr@... Date: 2016-06-13T09:12:03+00:00 Subject: [ruby-core:75988] [Ruby trunk Misc#10473] Date.to_datetime.to_time != Date.to_time Issue #10473 has been updated by Akira Tanaka. The proposed patch seems fine. However I recommend to add more tests for old dates around transition between Jurian to Geregorian Calendar. ---------------------------------------- Misc #10473: Date.to_datetime.to_time != Date.to_time https://bugs.ruby-lang.org/issues/10473#change-59182 * Author: Jack Lowe * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Date.new(2014,1,1).to_datetime.to_time.utc.to_s => "2014-01-01 00:00:00 UTC" Date.new(2014,1,1).to_time.utc.to_s => "2014-01-01 05:00:00 UTC" -- https://bugs.ruby-lang.org/ Unsubscribe: