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 here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out DateFieldPlugin from here using Subversion, or browse the source with Trac.
Example
To enable:
[components] datefield.* = enabled
To configure:
[datefield] format = ymd separator = -
Recent Changes
[3949] by doki_pen on 07/03/08 16:42:24
- Update template from ClearSilver? to Genshi
- Update calendar to jquery-ui
- Updates for Trac-0.11 CSS is foobar
[3948] by doki_pen on 07/03/08 16:19:59
testing ci
[3947] by coderanger on 07/03/08 16:16:45
Branching for 0.11.
[3416] by coderanger on 03/25/08 01:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
Author/Contributors
Author: coderanger
Contributors:
Attachments
- Sample_Report.txt (0.7 kB) -
Example of using date field in a report.
, added by bigjonroberts on 02/01/08 14:38:23.
