| 1 | = Add custom date fields to tickets = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This plugin allows specifying custom fields for entering dates in tickets. Just set up the field normally, then use these extra options: |
| 6 | ''fieldname''.date = true:: |
| 7 | Enable extra date stuff on this field. |
| 8 | ''fieldname''.date_empty:: |
| 9 | Allow this field to be blank. |
| 10 | |
| 11 | Currently this will only validate that the given input looks like the specified date format (see below). Date range checking could be added if someone asks nicely enough. |
| 12 | |
| 13 | The only configurable options are the date format and separator. Valid formats are `dmy`, `mdy`, and `ymd`. |
| 14 | |
| 15 | == Bugs/Feature Requests == |
| 16 | |
| 17 | Existing bugs and feature requests for DateFieldPlugin are |
| 18 | [report:9?COMPONENT=DateFieldPlugin here]. |
| 19 | |
| 20 | If you have any issues, create a |
| 21 | [http://trac-hacks.org/newticket?component=DateFieldPlugin&owner=coderanger new ticket]. |
| 22 | |
| 23 | == Download == |
| 24 | |
| 25 | Download the zipped source from [download:datefieldplugin here]. |
| 26 | |
| 27 | == Source == |
| 28 | |
| 29 | You can check out DateFieldPlugin from [http://trac-hacks.org/svn/datefieldplugin here] using Subversion, or [source:datefieldplugin browse the source] with Trac. |
| 30 | |
| 31 | == Example == |
| 32 | |
| 33 | To enable: |
| 34 | {{{ |
| 35 | [components] |
| 36 | datefield.* = enabled |
| 37 | }}} |
| 38 | |
| 39 | To configure: |
| 40 | {{{ |
| 41 | [datefield] |
| 42 | format = ymd |
| 43 | separator = - |
| 44 | }}} |
| 45 | |
| 46 | == Recent Changes == |
| 47 | |
| 48 | [[ChangeLog(datefieldplugin, 3)]] |
| 49 | |
| 50 | == Author/Contributors == |
| 51 | |
| 52 | '''Author:''' [wiki:coderanger] [[BR]] |
| 53 | '''Contributors:''' |