- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Incorrect value of saved_date in saved_control table
- lorenzo51
- Topic Author
- Offline
- New Member
Less
More
11 years 4 days ago #93732
by lorenzo51
Incorrect value of saved_date in saved_control table was created by lorenzo51
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
Do anyone knows if there is any parameter to configure in order to store the correct date?
Thanks in advance
Lorenzo
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
11 years 4 days ago #93758
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
- lorenzo51
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
11 years 3 days ago #93803
by lorenzo51
Replied by lorenzo51 on 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.
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.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
11 years 3 days ago #93804
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on 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
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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: lorenzo51
The topic has been locked.