= Add custom date fields to tickets = == Description == This plugin allows for validating custom fields as dates in tickets. Just set up the field as a custom field: http://trac.edgewall.org/wiki/TracTicketsCustomFields, then use these extra options in the trac.ini file: ''fieldname''.date = true:: Enable extra date stuff on this field. ''fieldname''.date_empty = true:: Allow this field to be blank. 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. The only configurable options are the date format and separator. Valid formats are `dmy`, `mdy`, and `ymd`. == Bugs/Feature Requests == Existing bugs and feature requests for DateFieldPlugin are [report:9?COMPONENT=DateFieldPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=DateFieldPlugin&owner=coderanger new ticket]. == Download == Download the zipped source from [download:datefieldplugin here]. == Source == You can check out DateFieldPlugin from [http://trac-hacks.org/svn/datefieldplugin here] using Subversion, or [source:datefieldplugin browse the source] with Trac. == Example == To enable: {{{ [components] datefield.* = enabled }}} To configure: {{{ [datefield] format = ymd separator = - }}} == Recent Changes == [[ChangeLog(datefieldplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:coderanger] [[BR]] '''Contributors:''' [wiki:doki_pen] [[BR]]