Skip to content

Commit

Permalink
Fixed issue #17900: Response date is incorrect when there is a mis-ma…
Browse files Browse the repository at this point in the history
…tch in date format (#2361)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
  • Loading branch information
gabrieljenik and encuestabizdevgit committed May 19, 2022
1 parent 7af9391 commit 0c0c86d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/controllers/ResponsesController.php
Expand Up @@ -147,7 +147,9 @@ public function actionView(int $surveyId, int $id, string $browseLang = ''): voi
$fnames[] = ["lastname", gT("Last name"), 'code' => 'lastname'];
$fnames[] = ["email", gT("Email"), 'code' => 'email'];
}
$fnames[] = ["submitdate", gT("Submission date"), gT("Completed"), "0", 'D', 'code' => 'submitdate'];
if ($survey->isDateStamp) {
$fnames[] = ["submitdate", gT("Submission date"), gT("Completed"), "0", 'D', 'code' => 'submitdate'];
}
$fnames[] = ["completed", gT("Completed"), "0"];

foreach ($fieldmap as $field) {
Expand Down

0 comments on commit 0c0c86d

Please sign in to comment.