diff --git a/hermes/lib/Api.php b/hermes/lib/Api.php index d6fdaa7e2c5..641fa3e03f7 100644 --- a/hermes/lib/Api.php +++ b/hermes/lib/Api.php @@ -514,7 +514,7 @@ public function listTimeObjects($time_categories, $start, $end) $cn = current($GLOBALS['registry']->clients->getClients(array($slice['client']))); $co = $slice['_costobject_name']; $tobj = array($slice['id'] => array( - 'title' => sprintf(_("%d hours: %s"), + 'title' => sprintf(_("%.2f hours: %s"), $slice['hours'], empty($cn['name']) ? (empty($co) ? $slice['description'] : $co) : $cn['name']), 'description' => $slice->toString(),