diff --git a/includes/view/User_view.php b/includes/view/User_view.php index c1143c07..9f5264ef 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -408,7 +408,7 @@ function User_view_myshift($shift, $user_source, $its_me) if ($shift['freeloaded']) { $myshift['duration'] = '
' - . printf('%-.2f', -($shift['end'] - $shift['start']) / 3600 * 2) . ' h' + . sprintf('%.2f', -($shift['end'] - $shift['start']) / 3600 * 2) . ' h' . '
'; if (auth()->can('user_shifts_admin')) { $myshift['comment'] .= '