View Issue Details

IDProjectCategoryView StatusLast Update
11940Bug reports[All Projects] Expression Managerpublic2016-11-22 16:34
ReporterDenisChenu Assigned Toollehar  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary11940: Date comparaison issue
Description

Date with dd/mm/yyyy format bad comparaison

Steps To Reproduce

Import included survey and test

Additional Information

It's OK in 2.5X (and before). @aestu choose (with benefice) to always return "Y-m-d H:i" for compare date in 2.05/2.06.

TagsNo tags attached.
Complete LimeSurvey version number (& build)20161122 (3.0)
I will donate to the project if issue is resolvedNo
BrowserFF50
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

DenisChenu

DenisChenu

2016-11-22 14:32

developer  

limesurvey_survey_dateCompareIssue.lss (13,959 bytes)
DenisChenu

DenisChenu

2016-11-22 14:33

developer  

ollehar

ollehar

2016-11-22 15:57

administrator   ~42142

Cannot reproduce.

DenisChenu

DenisChenu

2016-11-22 16:21

developer   ~42150

Browser related issue ?

In last 3.0 GIT version ?

Can you test here http://testing.sondages.pro/answershtml/index.php/survey/index/sid/792641/newtest/Y/lang/en ?

DenisChenu

DenisChenu

2016-11-22 16:26

developer   ~42151

Browser : tested:
Firefox 50
Midori 0.5.11
Chromium 54.0.2840.90 Fedora Project (64-bit) (en-US forced and fr-FR)

Same issue ....

ollehar

ollehar

2016-11-22 16:30

administrator   ~42153

Oh, sorry, I tested on master.

DenisChenu

DenisChenu

2016-11-22 16:31

developer   ~42154

:green:

DenisChenu

DenisChenu

2016-11-22 16:32

developer   ~42155

Last edited: 2016-11-22 16:34

View 3 revisions

It work on master 2.5X

2.5X : any date question type self.NAOK return good date.

PS : i don't remind when/how/where we update this in 3.0

PS2 : smetyhing in the good old LEMval https://github.com/LimeSurvey/LimeSurvey/blob/develop/scripts/expressions/em_javascript.js#L756

Issue History

Date Modified Username Field Change
2016-11-22 14:32 DenisChenu New Issue
2016-11-22 14:32 DenisChenu File Added: limesurvey_survey_dateCompareIssue.lss
2016-11-22 14:33 DenisChenu File Added: Capture du 2016-11-22 14-33-01.png
2016-11-22 15:57 ollehar Note Added: 42142
2016-11-22 15:57 ollehar Assigned To => ollehar
2016-11-22 15:57 ollehar Status new => feedback
2016-11-22 16:21 DenisChenu Note Added: 42150
2016-11-22 16:21 DenisChenu Status feedback => assigned
2016-11-22 16:26 DenisChenu Note Added: 42151
2016-11-22 16:30 ollehar Note Added: 42153
2016-11-22 16:31 DenisChenu Note Added: 42154
2016-11-22 16:32 DenisChenu Note Added: 42155
2016-11-22 16:32 DenisChenu Note Edited: 42155 View Revisions
2016-11-22 16:34 DenisChenu Note Edited: 42155 View Revisions