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
Thanks for your great lib!
One common requirement is working with dates in JSON object (e.g. jwadhams/json-logic-js#6)
It would be awesome, if this could be baked into json-logic-rs.
Obviously, there is a lot to consider beforehand.
Which formats should be supported?
Which operations should be supported? (st, gt, eq)?
Can we support different time units when comparing to date strings? (e.g. two dates are more than 18 years apart from each other, two dates are more than 3 days apart from each other, two dates are less than 24 hours apart from each other).
Can we support dynamic values like "compare this date string to the current date: is it in the past? Is it in the future?"
Those are just some ideas off the top of my head, but I'd love to get a discussion going on how working with dates could look like in json-logic-rs :)
The text was updated successfully, but these errors were encountered:
👋 Hi @manuschillerdev, this library is not actively developed, but you may find the original author's fork json-logic-plus receptive to this feature request - its readme mentions supporting features like you described.
Thanks for your great lib!
One common requirement is working with dates in JSON object (e.g. jwadhams/json-logic-js#6)
It would be awesome, if this could be baked into
json-logic-rs
.Obviously, there is a lot to consider beforehand.
Those are just some ideas off the top of my head, but I'd love to get a discussion going on how working with dates could look like in
json-logic-rs
:)The text was updated successfully, but these errors were encountered: