Changes between Version 50 and Version 51 of DateFieldPlugin


Ignore:
Timestamp:
Dec 15, 2014, 12:15:50 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Document feature added in #12049.

Legend:

Unmodified
Added
Removed
Modified
  • DateFieldPlugin

    v50 v51  
    4343 1. '''Configure''' the project management support for the plugin in its own configuration section, placed into 'trac.ini' file as follows:
    4444    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 {{{
    4646#!ini
    4747[ticket-custom]
     
    4949due_date.date = true
    5050due_date.label = Due Date
    51 due_date.value = MM-DD-YYYY
     51due_date.value = <now>  # special value <now> works with 1.0 branch only
    5252due_date.date_empty = true
    5353}}}
     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.
    5455    1. Site-wide defaults for macro arguments may be set at [datefield] section. More details about them see [#Arguments #Arguments section].
    5556{{{