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

Change History (1)

comment:1 Changed 8 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.