Feature #11001

Better date field

Added by Antoine Rodriguez almost 10 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Custom fields
Target version:-
Resolution:

Description

One of the possible new feature that would be great on redmine is to be able to apply restrictions to the date field.

For instance :
restrict the startdate and/or the enddate of the calendar witch can be an exact value such as "05-05-12" or relative value "-1w" for 1 week less than today

It would be great to use it globaly in order to forbid to insert a ticket with a date in the past or having a due date witch is not lesser than X days ....

at the custom field part it would be also a great feature to have this posibility

Feature List :
  • Add the possibility to restrict the start and/or ending of the calendar shown when setting a date in the date field
  • The values set for those restrictions can be fixed (YY-MM-DD) or relative (+1w, -1y, +500d, ...)

The popup calendar of the date field is very limited and use a code that will not evolve.

jqueryui's datepicker can be used for this : http://jqueryui.com/demos/datepicker/#icon-trigger

Localizations of datepicker : http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/

Best regards


Related issues

Related to Redmine - Feature #8177: Custom Field with mathematical calculation New 2011-04-18
Related to Redmine - Feature #7575: Enhance issue due date fields to also accept an offset New 2011-02-08

Also available in: Atom PDF