fix hour format for work log entries on myshifts page

This commit is contained in:
msquare 2019-04-28 14:58:43 +02:00
parent 24d59dbde7
commit a9499f4e5a
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ function User_view_worklog($worklog, $admin_user_worklog_privilege)
return [
'date' => glyph('calendar') . date('Y-m-d', $worklog['work_timestamp']),
'duration' => '<b>' . sprintf('%.2f', $worklog['work_hours']) . '</b>',
'duration' => sprintf('%.2f', $worklog['work_hours']) . ' h',
'room' => '',
'shift_info' => __('Work log entry'),
'comment' => $worklog['comment'] . '<br>'