We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734f129 commit 3423bf8Copy full SHA for 3423bf8
lib/oai/provider/model/activerecord_wrapper.rb
@@ -142,7 +142,7 @@ def sql_conditions(opts)
142
if opts.has_key?(:until)
143
# Handle databases which store fractions of a second by rounding up
144
sql << "#{timestamp_field} < :until"
145
- esc_values[:until] = parse_to_local(opts[:until]) { |t| t.succ }
+ esc_values[:until] = parse_to_local(opts[:until]) { |t| t + 1 }
146
end
147
if opts.has_key?(:set)
148
sql << "set = :set"
0 commit comments