https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
e

eager-rainbow-87882

07/22/2022, 10:26 PM
In short: Add support for Mongo
ISODate
on feature conditions.
Long history: We are going to store some ISO date strings as part of our attributes and we need to use force conditions based on date ranges, like, for example forced enable a feature for users created before an
ISODate('2021-01-01')
. But if you already support specifying rules based on date ranges in some different way, please point me out the documentation about it. But the solution need to be dynamic, not fixed in our code (so doing the check in our code to assign the user to a specific boolean attribute is not an option for our use case).
f

future-teacher-7046

07/23/2022, 4:38 AM
We support greater than / less than operators on strings. So if you use a string attribute formatted as YYYY-MM-DD, you should be able to target based on date ranges.
💡 1
11 Views