Changes between Version 22 and Version 23 of DateFieldPlugin


Ignore:
Timestamp:
Nov 26, 2009 12:18:46 PM (5 years ago)
Author:
terje
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DateFieldPlugin

    v22 v23  
    1414Currently this will only validate that the given input looks like the specified date format (see below). Date range checking could be added if someone asks nicely enough. 
    1515 
    16 The only configurable options are 
     16'''The configurable options are:''' 
    1717 ''format = '':: 
    1818   valid formats are `dmy`, `mdy`, and `ymd` 
     
    2222   let you change the first day of week (0=Sunday .. 6=Saturday) (as introduced in #1726) 
    2323 
     24'''The following options are available since [7192]''' 
     25 ''months = 1'':: 
     26   How many months to show at once? 
     27 ''milestone = false'':: 
     28   Use datepicker for milestone due/complete? (format= must match your locale) 
     29 ''weeknumbers = false'':: 
     30   Show ISO8601 week numbers? 
     31 ''panel = false'':: 
     32   Show a button panel with "Today" and "Done" buttons (at bottom)? 
     33 ''change_month = false'':: 
     34   Show a dropdown with month selection? 
     35 ''change_year = false'':: 
     36   Show a dropdown with year selection? 
     37 ''match_request = '':: 
     38   Use datepicker on arbitrary request paths. Use text fields with class=datepick in your template, and configure the start of request path (in list format), like: ''match_request = /query,/other_path'' 
     39 
     40There 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] 
    2441 
    2542== Bugs/Feature Requests ==  
     
    6683first_day = 1 
    6784}}} 
    68  
    6985[[Image(datefield.jpg)]] 
    7086 
     
    7692 
    7793'''Author:''' [wiki:coderanger] [[BR]] 
    78 '''Contributors:''' [wiki:doki_pen] [[BR]] 
     94'''Contributors:''' [wiki:doki_pen], [wiki:terje] [[BR]]