View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12428 | Bug reports | Survey taking | public | 2017-05-25 22:10 | 2017-06-14 16:07 |
Reporter | terryaulenbach | Assigned To | c_schmitz | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | no change required | ||
Product Version | 2.56.x | ||||
Summary | 12428: Mimimum date not accepted as valid date | ||||
Description | Setting the Minimum date to "+20 days" allows that date to be picked but gives the warning "Answer must be between 14/06/2017 and 20/07/2017" (based on the first available date being 14/06/2017) and prevents the survey from submitting. | ||||
Steps To Reproduce | Create a date question and set the Minimum date to "+20 days" (or any number of days, weeks, months, etc. using this format). | ||||
Additional Information | date("Y-m-d",time()+606024*28) will work in its place | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 2.56.1+161118 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Firefox & Chrome for sure, not tested in others. | ||||
Database type & version | PostgreSQL 9.6.0 | ||||
Server OS (if known) | Windows Server 2012 | ||||
Webserver software & version (if known) | Apache 2.4.23 | ||||
PHP Version | 7.0.13 | ||||
Can you make a survey with just this question and send the lss file here ? There are a strange error when survey reload value (value is resetted) , but can submit a valid date for my part : https://limesurvey.sondages.pro/391433 (with 2.65.1) |
|
Here it is. |
|
<b>a survey with just this question </b> ... Think the issue is about time .... "+20 days" mean today + 20 days at same hour. But fixed to 00:00 hour .... See https://limesurvey.sondages.pro/391433?newtest=Y&lang=en |
|
OK, got it : try with "+20 days 00:00:00" . Not really a bug in my point of view. |
|
Thank you very much, Denis! I had wondered if ther ewas some way to specify the time but couldn;t figure it out. This works great. |
|
Unsure if we need to fix it automatically (according to format) or not ... :\ |
|
To my thinking, if you can select a date by saying "+x days", then it should be assumed that means starting at 00:00:00. So my personal opinion is that it should work without specifying time, but should also allow a specific time to be entered. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-25 22:10 | terryaulenbach | New Issue | |
2017-05-25 22:10 | terryaulenbach | File Added: DateError.png | |
2017-05-26 09:22 | DenisChenu | Note Added: 43724 | |
2017-05-26 19:56 | terryaulenbach | File Added: DateQuestionProblem.lss | |
2017-05-26 19:56 | terryaulenbach | Note Added: 43728 | |
2017-05-29 14:38 | DenisChenu | Note Added: 43735 | |
2017-05-29 14:39 | DenisChenu | Note Edited: 43735 | |
2017-05-29 14:43 | DenisChenu | Note Added: 43736 | |
2017-05-31 14:31 | terryaulenbach | Note Added: 43781 | |
2017-05-31 15:43 | DenisChenu | Note Added: 43784 | |
2017-05-31 16:38 | terryaulenbach | Note Added: 43786 | |
2017-06-14 16:07 | c_schmitz | Assigned To | => c_schmitz |
2017-06-14 16:07 | c_schmitz | Status | new => closed |
2017-06-14 16:07 | c_schmitz | Resolution | open => no change required |