View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09701 | Bug reports | Survey editing | public | 2015-06-19 16:13 | 2015-06-20 16:28 |
Reporter | tammo | Assigned To | mfaber | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09701: Setting max date in date question does not work like before | ||||
Description | In 2.05 you could enter "date("Y-m-d")" as the maximum date and the survey would work. In 2.06 this results in an error. | ||||
Steps To Reproduce | Import attached question in 2.05: it works | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 2.06 150612 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | Not relevant | ||||
Server OS (if known) | Not relevant | ||||
Webserver software & version (if known) | Not relevant | ||||
PHP Version | 5.4 | ||||
Better to send a complete lss files ... really more easy tammo :) |
|
@tammo : can not reproduce on the last GIT version. See survey attached |
|
Looking at your files : date("Y-m-d")+1 : it's not a valid date. date("Y-m-d", strtotime("tomorrow")); |
|
OK, will change this in the survey. But strangely enough it did work in 2.05 and not in 2.06. I took this from a test survey by Mazi. I will inform him. And yes, next time I will send a complete lss. |
|
Denis, can you tell us how the underlying EM function has changed? That date adjustment works really nice at LS 2.05 so why not trying to keep it working? Of course, your solutions works as well but my approach was mentioned at the forums several times and it is far easier to use for the user than having to include strtotime() as well. I'd love to have this feature at 2.06 as well. |
|
Hi, I don't understand why it work before ... Think actual solution is better and allow more option. I assign to mfaber for information. |
|
Denis: Away until end of next week so cannot look into this further at the mom. maybe the comments to related issue 09591 explains. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-19 16:13 | tammo | New Issue | |
2015-06-19 16:13 | tammo | File Added: limesurvey_question_6463.lsq | |
2015-06-19 17:36 | DenisChenu | Note Added: 32441 | |
2015-06-19 17:36 | DenisChenu | Assigned To | => DenisChenu |
2015-06-19 17:36 | DenisChenu | Status | new => assigned |
2015-06-19 17:42 | DenisChenu | File Added: limesurvey_survey_date.lss | |
2015-06-19 17:43 | DenisChenu | Note Added: 32442 | |
2015-06-19 17:43 | DenisChenu | Status | assigned => feedback |
2015-06-19 17:46 | DenisChenu | Note Added: 32443 | |
2015-06-19 17:53 | tammo | Note Added: 32446 | |
2015-06-19 17:53 | tammo | Status | feedback => assigned |
2015-06-19 21:49 | Mazi | Note Added: 32455 | |
2015-06-19 21:49 | Mazi | Note Edited: 32455 | |
2015-06-20 10:41 | DenisChenu | Note Added: 32456 | |
2015-06-20 10:41 | DenisChenu | Assigned To | DenisChenu => mfaber |
2015-06-20 12:16 | mfaber | Relationship added | related to 09591 |
2015-06-20 12:23 | mfaber | Note Added: 32458 | |
2015-06-20 16:28 | DenisChenu | Note Added: 32460 | |
2015-06-20 16:28 | DenisChenu | Status | assigned => closed |
2015-06-20 16:28 | DenisChenu | Resolution | open => no change required |
2015-06-20 16:28 | DenisChenu | Fixed in Version | => 2.06+ |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |