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 4 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 4 months ago #93758

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9281
  • Thank you received: 1323
  • Karma: 383
Survey settings / Date stamp
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Incorrect value of saved_date in saved_control table 3 years 4 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 4 months ago #93804

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9281
  • Thank you received: 1323
  • Karma: 383
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: lorenzo51
Moderators: ITEd
Time to create page: 0.362 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form