Sha256: 435fee47f3d749c39980609a907650fe5686e012c556b13b6e335ae807e30456
Contents?: true
Size: 221 Bytes
Versions: 29
Compression:
Stored size: 221 Bytes
Contents
class Agilibox::SmallData::FilterStrategyByDateEnd < ::Agilibox::SmallData::FilterStrategyByKeyValue def apply(query, value) value = Time.zone.parse(value).end_of_day query.where("#{key} <= ?", value) end end
Version data entries
29 entries across 29 versions & 1 rubygems