Since we can now set min/max dates for a field, it'd be really helpful if min/max validation of dates could have a rolling date requirements - e.g. things that parse with strtotime().
Examples:
- Date must be in the past
- Date must be in the future
- Date must be within 2 and 7 days in the future, etc
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | add_rolling_date-2807579-7.patch | 11.56 KB | jrockowitz |
| #4 | add_rolling_date-2807579-3.patch | 11.55 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedMakes sense that #min, #max, and even the #default_value for date and datelist elements should support GNU Date Input Formats.
Comment #4
jrockowitz commentedThe patch passes all the tests I will commit to the dev release.
Comment #7
jrockowitz commentedComment #9
jrockowitz commentedComment #10
sammarley-jarrett commentedTHANK YOU @jrockowitz!