lib/mongoid/fields/internal/date_time.rb in mongoid-2.4.2 vs lib/mongoid/fields/internal/date_time.rb in mongoid-2.4.3

- old
+ new

@@ -18,10 +18,10 @@ # # @return [ DateTime ] The converted date time. # # @since 2.1.0 def deserialize(object) - object.try(:to_datetime) + super(object).try(:to_datetime) end end end end end