Incorrect value of saved_date in saved_control table

More
4 years 7 months ago #93732 by lorenzo51
lorenzo51 created the topic: Incorrect value of saved_date in saved_control table
When saving my responses in order to answer the survey at a later time, the saved_date field in saved_control table is always valorized with 1970-01-01 01:00:00.
Do anyone knows if there is any parameter to configure in order to store the correct date?
Thanks in advance
Lorenzo

Please Log in to join the conversation.

More
4 years 7 months ago #93758 by DenisChenu
DenisChenu replied the topic: Incorrect value of saved_date in saved_control table
Survey settings / Date stamp

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 7 months ago #93803 by lorenzo51
lorenzo51 replied the topic: Incorrect value of saved_date in saved_control table
Also with Date stamp = YES parameter in Survey settings, saved_date field in saved_control table is always valorized with 1970-01-01 01:00:00.
On the other hand all dates (submitdate,startdate,datestamp) are correctly valorized in the survey table.

Concerning my installation, the problem seems to be connected to the instruction "$today = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", $timeadjust);" in application\libraries\Save.php line 167, where the variable $timeadjust is not correctly valorized.
If I modify the above mentioned file, i.e. by setting the variable $timeadjust = "+1 hours", then the saved_date field in saved_control table is correctly valorized.
Do you have any hint regarding this issue?
Many thanks.

Please Log in to join the conversation.

More
4 years 7 months ago #93804 by DenisChenu
DenisChenu replied the topic: Incorrect value of saved_date in saved_control table
Sorry,

Don't understand/read it's in saved_control.

Please test with the last version and fill a bug with this information.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: lorenzo51

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now