Ignore:
Timestamp:
11 May 2011, 23:09:02 (14 years ago)
Author:
uli
Message:

Explain what we've done in datepicker.js.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/resources.py

    r6028 r6049  
    6262#: That means, you can also have several date input fields on a
    6363#: single page as long as each one has class ``datepicker``.
     64#:
     65#: Furthermore :func:`datepicker` supports different kinds of date
     66#: representation from which you can choose simply by setting a
     67#: different CSS class. The ``datepicker`` CSS mentioned above is
     68#: only one of the following possibilities:
     69#:
     70#: ``"datepicker"``
     71#:    renders date in format ``YYYY-MM-DD`` (ISO standard)
     72#:
     73#: ``"datepicker-year"``
     74#:    same but also adds a select field for year
     75#:
     76#: ``"datepicker-le"``
     77#:    renders date in format ``DD/MM/YYYY`` (little endian)
     78#:
     79#: ``"datepicker-le-year"``
     80#:    same but also adds a select field for year
     81#:
     82#: ``"datepicker-de"``
     83#:    renders date in format ``DD.MM.YYYY`` (german format)
     84#:
     85#: ``"datepicker-de-year"``
     86#:    same but also adds a select field for year
     87#:
     88#: ``"datepicker-us"``
     89#:    renders date in format ``MM/DD/YYYY`` (U.S. format)
     90#:
     91#: ``"datepicker-us-year"``
     92#:    same but also adds a select field for year
    6493datepicker = ResourceInclusion(waeup_sirp, 'datepicker.js',
    6594                               depends=[jqueryui])
    66                                
     95
    6796
    6897#: If you want generate alert or confirm messages then you have to perform
Note: See TracChangeset for help on using the changeset viewer.