jamsesso / json-logic-java

A pure Java implementation of JsonLogic without using the Nashorn JS engine
MIT License
99 stars 50 forks source link

Date Comparator Difference: JsonLogic Web vs. Java SDK. #37

Open chenhbc opened 1 year ago

chenhbc commented 1 year ago

When using JsonLogic, I noticed that there are differences between using the Java SDK and the Web playground. For example, in the web version, I can get a result of true. However, when using the Java SDK, I observed that dates are being converted to numbers, leading to an exception. Why does this situation occur? Is it only possible to convert dates to timestamps in Java?