From a9499f4e5a09dbefcc2697784de131aaced8f3f4 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 28 Apr 2019 14:58:43 +0200 Subject: fix hour format for work log entries on myshifts page --- includes/view/User_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/view/User_view.php') 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' => '' . sprintf('%.2f', $worklog['work_hours']) . '', + 'duration' => sprintf('%.2f', $worklog['work_hours']) . ' h', 'room' => '', 'shift_info' => __('Work log entry'), 'comment' => $worklog['comment'] . '
' -- cgit v1.2.3