lib/searchlogic/search/method_missing.rb in searchlogic-2.5.6 vs lib/searchlogic/search/method_missing.rb in searchlogic-2.5.7

- old
+ new

@@ -99,14 +99,10 @@ column_for_type_cast.instance_variable_set(:@type, type) casted_value = column_for_type_cast.type_cast(value) if Time.zone && casted_value.is_a?(Time) if value.is_a?(String) - if options[:skip_conversion] - casted_value.utc - else - (casted_value + (Time.zone.utc_offset * -1)).in_time_zone - end + (casted_value + (Time.zone.utc_offset * -1)).in_time_zone else if options[:skip_conversion] casted_value.utc else casted_value.in_time_zone \ No newline at end of file