From: Daniel Luz Date: 2009-02-07T02:28:34+09:00 Subject: [ruby-core:21897] [Bug #1123] DateTime.<=> is broken Issue #1123 has been updated by Daniel Luz. Am I missing something here? The two given strings have distinct times, the first one being nine hours later than the second. <=> thus seems to work correctly (dt1 > dt2). ajd differs because it returns fractions of day: dt1.ajd.to_i == dt2.ajd.to_i. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1123 ---------------------------------------- http://redmine.ruby-lang.org