Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Incorrect value of saved_date in saved_control table

Incorrect value of saved_date in saved_control table 3 years 8 months ago #93732

  • lorenzo51
  • lorenzo51's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 3 years 8 months ago #93758

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 3 years 8 months ago #93803

  • lorenzo51
  • lorenzo51's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
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.
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 3 years 8 months ago #93804

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: lorenzo51
Time to create page: 0.222 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form