Skip to content
Snippets Groups Projects
Commit 51bd3328 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

fix display of time in assigment log (now a timestamp), fixes #5370

Closes #5370

Merge request studip/studip!4050
parent bab43151
No related branches found
No related tags found
No related merge requests found
...@@ -732,7 +732,7 @@ class Vips_SolutionsController extends AuthenticatedController ...@@ -732,7 +732,7 @@ class Vips_SolutionsController extends AuthenticatedController
$assignment_attempt->user->vorname, $assignment_attempt->user->vorname,
$assignment_attempt->user->username, $assignment_attempt->user->username,
$entry['label'], $entry['label'],
$entry['time'], date('Y-m-d H:i:s', $entry['time']),
$entry['ip_address'], $entry['ip_address'],
$entry['ip_address'] ? $this->gethostbyaddr($entry['ip_address']) : '', $entry['ip_address'] ? $this->gethostbyaddr($entry['ip_address']) : '',
$entry['session_id'] $entry['session_id']
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<?= htmlReady($log['label']) ?> <?= htmlReady($log['label']) ?>
</td> </td>
<td> <td>
<?= date('d.m.Y, H:i:s', strtotime($log['time'])) ?> <?= date('d.m.Y, H:i:s', $log['time']) ?>
</td> </td>
<td> <td>
<?= htmlReady($log['ip_address']) ?> <?= htmlReady($log['ip_address']) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment