View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09672Bug reportsData Entry (non public)public2015-06-19 18:12
ReporterLiesbeth Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionno change required 
Product Version2.05+ 
Fixed in Version2.06+ 
Summary09672: date format year turns out to be month-year
Description

With date("Y") as min or maxdate and yyyy as dateformat I only get month-date to choose.
If I hover above the inputfield I get the message format: yyyy which seems correct, but if I click in the inputfield or press the button I always get the month-year
f12 on the inputfield gives the information below
<div class="ui-datepicker-title">

<select class="ui-datepicker-month" data-event="change" data-handler="selectMonth"></select>

<select class="ui-datepicker-year" data-event="change" data-handler="selectYear"></select>

</div>
or f12 on the button
<p class="question answer-item text-item date-item">

<label class="hide label" for="answer155352X46X521"></label>
<input id="answer155352X46X521" class="popupdate hasDatepicker em_sq_validation good" type="text" onchange="checkconditions(this.value, this.name, this.type)" onkeypress="return goodchars(event,'0123456789')" maxlength="5" value="" title="Formaat: yyyy" name="155352X46X521" size="5"></input>

<button class="ui-datepicker-trigger em_sq_validation good" type="button">

    ...

</button>
<input id="dateformat155352X46X521" class="em_sq_validation good" type="hidden" value="yy" name="dateformat155352X46X521"></input>
<input id="datelanguage155352X46X521" class="em_sq_validation good" type="hidden" value="nl" name="datelanguage155352X46X521"></input>
<input id="datemin155352X46X521" class="em_sq_validation good" type="hidden" value="2015" name="datemin155352X46X521"></input>
<input id="datemax155352X46X521" class="em_sq_validation good" type="hidden" value="2037-12-31" name="datemax155352X46X521"></input>

Further: If I click on the greyed out button 'today' something strange happens

Steps To Reproduce

import the lss and try it for yourself

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)2.05+ 150520
I will donate to the project if issue is resolvedNo
BrowserIE, firefox, chrome
Database type & version?
Server OS (if known)?
Webserver software & version (if known)?
PHP Version?
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

mfaber

mfaber

2015-06-09 22:32

reporter   ~32306

Hi Liesbeth, single year is not implemented in datetime question. You can use the numerical question for a single year.

DenisChenu

DenisChenu

2015-06-19 18:11

developer   ~32451

@mfaber : your excellent work on date question type make this working \o/ : exception with this little cosmectic isssue.

ANd here : just set "Use dropdown" to true.

See attached file

Issue History

Date Modified Username Field Change
2015-06-09 21:21 Liesbeth New Issue
2015-06-09 21:21 Liesbeth File Added: limesurvey_survey_155352.lss
2015-06-09 22:32 mfaber Note Added: 32306
2015-06-19 18:08 DenisChenu File Added: limesurvey_survey_dateyear.lss
2015-06-19 18:11 DenisChenu Note Added: 32451
2015-06-19 18:12 DenisChenu Status new => closed
2015-06-19 18:12 DenisChenu Assigned To => DenisChenu
2015-06-19 18:12 DenisChenu Resolution open => no change required
2015-06-19 18:12 DenisChenu Fixed in Version => 2.06+