Changes between Version 22 and Version 23 of DateFieldPlugin
- Timestamp:
- Nov 26, 2009, 11:18:46 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DateFieldPlugin
v22 v23 14 14 Currently 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. 15 15 16 The only configurable options are 16 '''The configurable options are:''' 17 17 ''format = '':: 18 18 valid formats are `dmy`, `mdy`, and `ymd` … … 22 22 let you change the first day of week (0=Sunday .. 6=Saturday) (as introduced in #1726) 23 23 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 40 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] 24 41 25 42 == Bugs/Feature Requests == … … 66 83 first_day = 1 67 84 }}} 68 69 85 [[Image(datefield.jpg)]] 70 86 … … 76 92 77 93 '''Author:''' [wiki:coderanger] [[BR]] 78 '''Contributors:''' [wiki:doki_pen] [[BR]]94 '''Contributors:''' [wiki:doki_pen], [wiki:terje] [[BR]]