View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
04843Bug reportsSurvey takingpublic2011-01-07 20:44
Reportermdekker Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.91RC1 
Summary04843: jquery datepicker doesn't like year ranges
Description

When today is outside of the year range of the datepicker, the datepicker is wrong.

Steps To Reproduce

Create a datefield using the datepicker
set the year range to something before today (ie. 2010)
now check the question: it opens on today, but shows a different year dropdown. So when you select a date and think you are in that year, you click it and get a date in the current year/month.

Additional Information

Not sure how to fix this, maybe it is a jquery bug or the jquery mindate/maxdate should also be set.

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)5691
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versiondna
Server OS (if known)dna
Webserver software & version (if known)dna
PHP Versiondna
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

mdekker

mdekker

2011-01-04 09:32

reporter   ~13843

Fix works great for me. Thanks for the quick response!

One minor thing: jQuery talks about relative yearranges, but i couldn't find a reference to that in the LS docs. So if relative ranges are not allowed all is fine, when they are allowed the code should be checked since a relative range didn't work for me (but I don't need that anyway).

http://docs.jquery.com/UI/Datepicker#option-yearRange

Issue History

Date Modified Username Field Change
2011-01-03 15:26 mdekker New Issue
2011-01-03 15:26 mdekker File Added: limesurvey_survey_53696.lss
2011-01-03 21:33 c_schmitz Status new => resolved
2011-01-03 21:33 c_schmitz Fixed in Version => 1.91RC1
2011-01-03 21:33 c_schmitz Resolution open => fixed
2011-01-03 21:33 c_schmitz Assigned To => c_schmitz
2011-01-04 09:32 mdekker Note Added: 13843
2011-01-07 20:44 c_schmitz Status resolved => closed