Opened 8 years ago
Closed 8 years ago
#11089 closed feature (wontfix)
Datepicker: allow date+delta format for minDate and maxDate
Reported by: | neilbowers | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.core | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In minDate and maxDate you can either provide a date string, or a delta from today, for example "+1d".
It would be very handy if you could combine the two: provide a date and a delta from that date. For example:
'2015-01-15 + 20d'
Since the datepicker can already do math with dates, this saves the user from having to do it.
Cheers, Neil
Note: See
TracTickets for help on using
tickets.
This is not something that we want to support. That type of logic belongs in a more general purpose date library.