Skip to content

Commit

Permalink
This is a float.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 31, 2014
1 parent 2cd7377 commit 5eafc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermes/lib/Api.php
Expand Up @@ -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(),
Expand Down

0 comments on commit 5eafc7e

Please sign in to comment.