diff options
Diffstat (limited to 'lib/xmlrpc/datetime.rb')
-rw-r--r-- | lib/xmlrpc/datetime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/datetime.rb b/lib/xmlrpc/datetime.rb index 298263fe8a..f66ef8963a 100644 --- a/lib/xmlrpc/datetime.rb +++ b/lib/xmlrpc/datetime.rb @@ -127,7 +127,7 @@ class DateTime end def ==(o) - Array(self) == Array(o) + self.to_a == Array(o) rescue false end end |