Changes between Version 51 and Version 52 of DateFieldPlugin


Ignore:
Timestamp:
Apr 9, 2015, 1:10:50 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • DateFieldPlugin

    v51 v52  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Add custom date fields to tickets and helps date selection =
    32
    4 == Description ==
     3= Add custom date fields to tickets and helps date selection
     4
     5== Description
    56
    67This plugin provides a datepicker for ticket and milestone fields, and validation of the date string for ticket custom fields. It will only validate that the given input has the specified date format (see below). The value is stored in the database as a string, as Trac does not yet have date field support (t:#1942). Note: It will never be the intention of this plugin to provide date-type support.
    78
    8 With release 1.0, Trac has integrated the jQuery UI library along with datepicker and datetimepicker extensions into the core. Major changes to this plugin have followed suite, and the plugin will be obsolete in an upcoming release once the work in t:#1942 and t:#10756 is complete.
     9With release 1.0, Trac has integrated the jQuery UI library along with datepicker and datetimepicker extensions into the core. Major changes to this plugin have followed, and the plugin will be obsolete in an upcoming release once the work in t:#1942 and t:#10756 is complete.
    910
    10 == Usage ==
     11== Usage
    1112
    1213{{{
     
    1718 * Version 3.0.0: The 1.0 branch is a development branch that has been created to support work forwards version 3.0 of the plugin, which will only support Trac 1.0 and later.
    1819 * Version 2.0.0: The 0.12 branch is a development branch that has been created to support work towards version 2.0 of the plugin, which will only support Trac 0.12 and later.
    19  * Version 1.1.0: The jQuery UI component has been downgraded to 1.6 to ensure compatibility with jQuery 1.2.6 that ships with Trac 0.11.x
     20 * Version 1.1.0: The jQuery UI component has been downgraded to 1.6 to ensure compatibility with jQuery 1.2.6 that ships with Trac 0.11.x.
    2021
    2122}}}
    2223
    23  1. Install and configure
    24  2. Pick a date on tickets and milestones
     24 1. Install and configure.
     25 1. Pick a date on tickets and milestones:
    2526
    2627'''0.11 branch''' ------------------- '''Development branch'''
     
    2829[[Image(DatePickerTrac011.png, 13%)]] [[Image(DateFieldPlugin.png, 15%)]]
    2930
    30 == Installation ==
     31== Installation
    3132
    3233 1. '''Install''' globally with:
    3334{{{
    3435#!sh
    35 $ sudo easy_install https://trac-hacks.org/svn/datefieldplugin/0.11/
     36sudo easy_install https://trac-hacks.org/svn/datefieldplugin/0.11/
    3637}}}
    3738 1. '''Enable''' the plugin by updating TracIni file (..../trac.ini) as follows:
     
    6465{{{
    6566#!sh
    66 $ sudo /etc/init.d/apache2 restart
     67sudo /etc/init.d/apache2 restart
    6768}}}
    6869
    69 === Arguments ===
     70=== Arguments
    7071
    7172This plugin can be controlled with a number of arguments, inside `[datefield]` section contained in `trac.ini` configuration file:
    7273
    73 ||'''Argument'''  ||'''Version'''  ||'''Description'''  ||'''Default[[BR]]value'''
     74||'''Argument'''  ||'''Version'''  ||'''Description'''  ||'''Default[[BR]]value''' ||
    7475|| `format`|| ||The format to use for dates. valid formats are `dmy`, `mdy`, and `ymd` || `dmy` ||
    7576|| `separator`|| ||The separator character to use for dates. Possible values are `-` or `.` or `/` || `/` ||
     
    8485|| `months`|| >= [7192] ||Number of months visible in datepicker  || `1` ||
    8586
    86  * There are many other options, but you need to modify the `datefield.html` template if you want to use them. See [http://docs.jquery.com/UI/Datepicker]
     87There are many other options, but you need to modify the `datefield.html` template if you want to use them. See [http://docs.jquery.com/UI/Datepicker]
    8788
    88 == Bugs/Feature Requests ==
     89== Bugs/Feature Requests
    8990
    90 Existing bugs and feature requests for !DateFieldPlugin are '''[report:9?COMPONENT=DateFieldPlugin here]'''.
     91Existing bugs and feature requests for !DateFieldPlugin are [report:9?COMPONENT=DateFieldPlugin here].
    9192
    92 If you have any issues, create a '''[/newticket?component=DateFieldPlugin new ticket]'''.
     93If you have any issues, create a [/newticket?component=DateFieldPlugin new ticket].
    9394
    94 === Known issues ===
     95[[TicketQuery(component=DateFieldPlugin&group=type,format=progress)]]
    9596
    96  1. If you have the AutoQueryPlugin installed, you'll need to patch the !DateFieldPlugin to work with it, see [http://trac-hacks.org/ticket/6796#comment:4 comment:4:ticket:6796].
     97=== Known issues
    9798
    98 == Source & Download ==
     99If you have the AutoQueryPlugin installed, you'll need to patch the !DateFieldPlugin to work with it, see [http://trac-hacks.org/ticket/6796#comment:4 comment:4:ticket:6796].
    99100
    100 You can check out !DateFieldPlugin from '''[http://trac-hacks.org/svn/datefieldplugin here]''' using Subversion, or '''[source:datefieldplugin browse the source]''' with Trac.
     101== Source
    101102
    102 Download the zipped source from '''[download:datefieldplugin here]'''.
     103You can check out !DateFieldPlugin from [http://trac-hacks.org/svn/datefieldplugin here] using Subversion, or [source:datefieldplugin browse the source] with Trac.
    103104
    104 == Recent Changes ==
     105== Download
     106
     107Download the zipped source from [download:datefieldplugin here].
     108
     109== Recent Changes
    105110
    106111[[ChangeLog(datefieldplugin, 3)]]
    107112
    108 == Author/Contributors ==
     113== Author/Contributors
    109114
    110115'''Author:''' [wiki:coderanger] [[BR]]