Changes between Version 62 and Version 63 of WikiTicketCalendarMacro


Ignore:
Timestamp:
Jul 21, 2012, 11:15:49 PM (12 years ago)
Author:
Steffen Hoffmann
Comment:

provide hints on current configuration

Legend:

Unmodified
Added
Removed
Modified
  • WikiTicketCalendarMacro

    v62 v63  
    8181
    8282 1. '''Install'''
    83       1. with easy_install:
     83  1. with easy_install:
    8484{{{
    8585#!sh
     
    8787}}}
    8888 1. '''Enable'''
    89     * Update TracIni file (`..../trac.ini`) with:
     89  * Update TracIni file (`..../trac.ini`) with:
    9090{{{
    9191#!ini
     
    9393wikicalendar.* = enabled
    9494}}}
    95      This enables both, this macro as well as the WikiCalendarMacro.
    96      Both macros are bundled in `wikicalendar-2.0.0` and later. For historic versions the old instructions are preserved [#Historicnotes below]:
    97 
    9895 1. '''Configure'''
    99     * The plugin optionally makes use of an own configuration section, that could be placed into 'trac.ini' as follows:
    100 {{{
    101 [wikiticketcalendar]
    102 ticket.due_field.name = due_close
     96  * The macro optionally makes use of an own configuration section, that could be placed into 'trac.ini' as follows:
     97{{{
     98#!ini
     99[wikicalendar]
     100ticket.due_field = due_close
    103101ticket.due_field.format = %y-%m-%d
    104 }}}
    105     * Note: these are the implicit default values to give backwards compatible behaviour.
    106     * Real configuration examples:
    107       * for a custom due date field named 'due-date' that holds US style date with 4-digit year:
    108 {{{
    109 [wikiticketcalendar]
    110 ticket.due_field.name = due-date
    111 ticket.due_field.format = %m/%d/%Y
    112 }}}
    113       * for a custom due date field named 'due_date' that holds true POSIX microsecond timestamps (see: [t:wiki:TracDev/Proposals/TracTicketsCustomTimeFields custom time fields proposal])
    114 {{{
    115 [wikiticketcalendar]
    116 ticket.due_field.name = due_date
    117 ticket.due_field.format = ts
    118102}}}
    119103 1. '''Restart''' web server:
     
    122106$ sudo /etc/init.d/apache2 restart
    123107}}}
     108
     109The procedure above enables both, this macro as well as the WikiCalendarMacro.
     110Both macros are bundled in `wikicalendar-2.0.0` and later.
     111For historic versions the old instructions are preserved [#Historicnotes below].
    124112
    125113=== About i18n/l10n support ===
     
    200188 for Trac >= ''0.12'' and ''trunk'' branch with i18n support (have a different code structure due to packaging)
    201189
     190The following configuration instructions apply only to the old code as well:
     191{{{
     192[wikiticketcalendar]
     193ticket.due_field.name = due_close
     194ticket.due_field.format = %y-%m-%d
     195}}}
     196    * Note: these are the implicit default values to give backwards compatible behaviour.
     197    * Real configuration examples:
     198      * for a custom due date field named 'due-date' that holds US style date with 4-digit year:
     199{{{
     200[wikiticketcalendar]
     201ticket.due_field.name = due-date
     202ticket.due_field.format = %m/%d/%Y
     203}}}
     204      * for a custom due date field named 'due_date' that holds true POSIX microsecond timestamps (see: [t:wiki:TracDev/Proposals/TracTicketsCustomTimeFields custom time fields proposal])
     205{{{
     206[wikiticketcalendar]
     207ticket.due_field.name = due_date
     208ticket.due_field.format = ts
     209}}}
     210
    202211
    203212== Author/Contributors ==