summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-04-28 14:58:43 +0200
committermsquare <msquare@notrademark.de>2019-04-28 14:58:43 +0200
commita9499f4e5a09dbefcc2697784de131aaced8f3f4 (patch)
treeb090ad61904dc3ab47c9128b778ba15ada11cc7e /includes/view/User_view.php
parent24d59dbde7961b752edadeb7ea67d2e13164b0bb (diff)
fix hour format for work log entries on myshifts page
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r--includes/view/User_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 87d767f8..85e6920c 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -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>'