View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12392 | Bug reports | Expression Manager | public | 2017-05-12 10:40 | 2020-03-13 18:47 |
Reporter | loknmal | Assigned To | ollehar | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | open | ||
Product Version | 2.64.x | ||||
Summary | 12392: Bug age, interval date - LS 2.65 but absent in 2.53 | ||||
Description | Bonjour, J'ai un serveur avec limesurvey 2.65 (managé, centOS7 php 7) et un autre 2.53 (Serveur infomaniak hebergement web) l'heure serveur à jour. Une première question date de naissance, une deuxième question date du jour, une troisième question equation avec la formule suivante: J'ai également essayé avec: intval((strtotime(Q2)-strtotime("now"))/60/60/24/365,25) - même problème. Q2 étant la date de naissance. J'ai crée une question jour d'aujourd'hui (Q2)-(Qaujourd'hui), le problème reste le même. Merci pour votre aide. In english now: the equation "Your are {floor((time() - strtotime(DOB)) / (60 60 24 * 365))} years old give all the time the same age , 47 years old. It seems that Limesurvey is blocked on 1970... Thanks for bug correction. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 2.65.0+170502 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | |||||
Database type & version | PhpMyadmin Version : 4.4.15.5 / 5.5.52-MariaDB | ||||
Server OS (if known) | Centos7 | ||||
Webserver software & version (if known) | nginx/1.6.3 | ||||
PHP Version | 5.4.16 | ||||
0 in time() is 00:00:00 1 January 1970 |
|
Thanks for reporting. |
|
Attach a survey to reproduce, please. |
|
Hi, I can't fix this without more feedback from you, @loknmal. What is DOB here? strtotime(DOB). Don't you mean DOB.shown? Check the survey I've attached, please. |
|
This version of LimeSurvey is not longer supported. Please check so that the issue is fixed in a more recent version of LimeSurvey. If it's not, please reopen this bug report. Thank you. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-12 10:40 | loknmal | New Issue | |
2017-05-18 14:38 | vkuzmin | Note Added: 43656 | |
2017-06-20 15:57 | c_schmitz | Assigned To | => ollehar |
2017-06-20 15:57 | c_schmitz | Status | new => assigned |
2017-06-20 15:58 | ollehar | Note Added: 43957 | |
2017-06-20 15:59 | ollehar | Note Added: 43958 | |
2017-06-22 10:06 | c_schmitz | Status | assigned => feedback |
2017-06-22 10:20 | ollehar | File Added: limesurvey_survey_927538.lss | |
2017-06-22 10:20 | ollehar | Note Added: 43964 | |
2020-03-13 18:47 | c_schmitz | Note Added: 56502 | |
2020-03-13 18:47 | c_schmitz | Status | feedback => closed |