You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when trying to compare dates within a range using the === operator. The current implementation does not support this.
range=Date.parse('2024-01-01')..Date.parse('2024-12-31')date=Date.parse('2024-07-22')rule={"==="=>[{"var"=>"range"},{"var"=>"date"}]}data={"date"=>date,"range"=>range}result=JSONLogic.apply(rule,data)# expected result is true, but in all cases it returns false
I have a problem when trying to compare dates within a range using the === operator. The current implementation does not support this.
We could add the command "==="
json-logic-ruby/lib/json_logic/operation.rb
Line 88 in 1fe6722
The text was updated successfully, but these errors were encountered: