Skip to main content

Search and Top Navigation

#11089 closed feature (wontfix)

Opened February 11, 2015 04:48PM UTC

Closed February 11, 2015 04:54PM UTC

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:

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.



Attachments (0)
Change History (1)

Changed February 11, 2015 04:54PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

This is not something that we want to support. That type of logic belongs in a more general purpose date library.