Changes between Version 50 and Version 51 of DateFieldPlugin
- Timestamp:
- Dec 15, 2014, 12:15:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DateFieldPlugin
v50 v51 43 43 1. '''Configure''' the project management support for the plugin in its own configuration section, placed into 'trac.ini' file as follows: 44 44 1. To add a Due Date, just set up the field as a [http://trac.edgewall.org/wiki/TracTicketsCustomFields custom field], or use the CustomFieldAdminPlugin (image right) to create a date field: [[Image(customfields.jpg, right, 20%)]] 45 {{{45 {{{ 46 46 #!ini 47 47 [ticket-custom] … … 49 49 due_date.date = true 50 50 due_date.label = Due Date 51 due_date.value = MM-DD-YYYY51 due_date.value = <now> # special value <now> works with 1.0 branch only 52 52 due_date.date_empty = true 53 53 }}} 54 The example demonstrated use of the special value `<now>`, which is supported only on the 1.0 branch. The value will be replaced with the current date. 54 55 1. Site-wide defaults for macro arguments may be set at [datefield] section. More details about them see [#Arguments #Arguments section]. 55 56 {{{