summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-19 12:04:41 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-19 12:04:41 +0000
commitab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4 (patch)
tree039cc3bcc95c0076bac357c26ca2fdbe3fd6f858
parentf65d9ec046e945c52f15f68207d1a60c1beca301 (diff)
downloadpkgsubmit-ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4.tar
pkgsubmit-ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4.tar.gz
pkgsubmit-ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4.tar.bz2
pkgsubmit-ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4.tar.xz
pkgsubmit-ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4.zip
show better units for stats
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 3a05998..d70c514 100644
--- a/index.php
+++ b/index.php
@@ -400,10 +400,10 @@ if ($total > 0) {
$s .= '<table style="width: 100%;"><caption>Build time</caption>';
- $s .= sprintf('<tr><td>Total time</td><td>%s</td></tr>
- <tr><td>Average</td><td>%s</td></tr>
+ $s .= sprintf('<tr><td>Total time</td><td>%s hours</td></tr>
+ <tr><td>Average</td><td>%s minutes</td></tr>
<tr><td>Builds count</td><td>%s</td></tr>',
- $buildtime_total,
+ round($buildtime_total / 60, 2),
$buildtime_avg,
$buildtime_cnt);