Changes between Version 62 and Version 63 of WikiTicketCalendarMacro
- Timestamp:
- Jul 21, 2012, 11:15:49 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiTicketCalendarMacro
v62 v63 81 81 82 82 1. '''Install''' 83 83 1. with easy_install: 84 84 {{{ 85 85 #!sh … … 87 87 }}} 88 88 1. '''Enable''' 89 89 * Update TracIni file (`..../trac.ini`) with: 90 90 {{{ 91 91 #!ini … … 93 93 wikicalendar.* = enabled 94 94 }}} 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 98 95 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] 100 ticket.due_field = due_close 103 101 ticket.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-date111 ticket.due_field.format = %m/%d/%Y112 }}}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_date117 ticket.due_field.format = ts118 102 }}} 119 103 1. '''Restart''' web server: … … 122 106 $ sudo /etc/init.d/apache2 restart 123 107 }}} 108 109 The procedure above enables both, this macro as well as the WikiCalendarMacro. 110 Both macros are bundled in `wikicalendar-2.0.0` and later. 111 For historic versions the old instructions are preserved [#Historicnotes below]. 124 112 125 113 === About i18n/l10n support === … … 200 188 for Trac >= ''0.12'' and ''trunk'' branch with i18n support (have a different code structure due to packaging) 201 189 190 The following configuration instructions apply only to the old code as well: 191 {{{ 192 [wikiticketcalendar] 193 ticket.due_field.name = due_close 194 ticket.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] 201 ticket.due_field.name = due-date 202 ticket.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] 207 ticket.due_field.name = due_date 208 ticket.due_field.format = ts 209 }}} 210 202 211 203 212 == Author/Contributors ==