diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-19 12:04:41 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-19 12:04:41 +0000 |
commit | ab0218742fc540ac90e6e5ecd6c8dae8f7d0d8a4 (patch) | |
tree | 039cc3bcc95c0076bac357c26ca2fdbe3fd6f858 | |
parent | f65d9ec046e945c52f15f68207d1a60c1beca301 (diff) | |
download | pkgsubmit-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.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |