diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-06-16 09:56:43 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-06-16 09:56:43 +0000 |
commit | 837699c7e0d2d444a17a2357aafe8d9649eb4987 (patch) | |
tree | 36846679d8c97edb5ceed2babbfb1e808d73a6ba /demos | |
parent | 74b7cde93963e09ca8012d62d470f23130a38c3b (diff) | |
download | jquery-ui-837699c7e0d2d444a17a2357aafe8d9649eb4987.tar.gz jquery-ui-837699c7e0d2d444a17a2357aafe8d9649eb4987.zip |
Allow relative dates with multiple periods
Diffstat (limited to 'demos')
-rw-r--r-- | demos/functional/templates/ui.datepicker.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/functional/templates/ui.datepicker.html b/demos/functional/templates/ui.datepicker.html index ae4c78fba..453c784ae 100644 --- a/demos/functional/templates/ui.datepicker.html +++ b/demos/functional/templates/ui.datepicker.html @@ -204,7 +204,8 @@ options: [ { desc: 'January 1, 2007', source: '$("#defaultDate").datepicker({defaultDate: new Date(2007, 1 - 1, 1), showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, { desc: '7 days from today', source: '$("#defaultDate").datepicker({defaultDate: +7, showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, - { desc: '2 weeks from today', source: '$("#defaultDate").datepicker({defaultDate: "+2w", showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' } + { desc: '2 weeks from today', source: '$("#defaultDate").datepicker({defaultDate: "+2w", showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' }, + { desc: '10 days and 1 month from today', source: '$("#defaultDate").datepicker({defaultDate: "+10 D +1 M", showOn: "both", buttonImage: "templates/images/calendar.gif", buttonImageOnly: true});' } ] }, |