|Version 11 (modified by anonymous, 8 years ago) (diff)|
Add custom date fields to tickets
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
- format =
- valid formats are dmy, mdy, and ymd
- separator =
- possible values are - or . or /
- first_day =
- let you change the first day of week (0=Sunday .. 6=Saturday) (as introduced in #1726)
If you have any issues, create a new ticket.
Download the zipped source from [download:datefieldplugin here].
[components] datefield.* = enabled
[datefield] format = ymd separator = - first_day = 1
- 14902 by rjollos on 2015-09-16 00:52:02
3.0.0: Release version 3.0.0 of plugin.
- 14901 by rjollos on 2015-09-16 00:46:43
3.0.0dev: Fixes error in handling of <now> keyword.
The keyword replacement was not being applied to each field independently. Fixes #12512.
- 14802 by rjollos on 2015-07-14 23:17:21
Removed duplicated metadata from .
(720 bytes) -
added by bigjonroberts 9 years ago.
Example of using date field in a report.
- customfields.jpg (6.2 KB) - added by doki_pen 7 years ago.
(13.0 KB) -
added by rjollos 5 years ago.
DateFieldPlugin at version 1.0.3
- DatePickerTrac011.png (14.7 KB) - added by rjollos 5 years ago.
Download all attachments as: .zip