Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Incorrect value of saved_date in saved_control table

Incorrect value of saved_date in saved_control table 1 Jahr 8 Monate her #93732

  • lorenzo51
  • lorenzo51s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Incorrect value of saved_date in saved_control table 1 Jahr 8 Monate her #93758

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6551
  • Dank erhalten: 868
  • Karma: 257
Survey settings / Date stamp
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Incorrect value of saved_date in saved_control table 1 Jahr 8 Monate her #93803

  • lorenzo51
  • lorenzo51s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Incorrect value of saved_date in saved_control table 1 Jahr 8 Monate her #93804

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6551
  • Dank erhalten: 868
  • Karma: 257
Sorry,

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

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

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: lorenzo51
Moderatoren: ITEd
Ladezeit der Seite: 0.137 Sekunden
Donation Image