Commit a8cc8ddf authored by Sven Greiner's avatar Sven Greiner
Browse files

Fix runtime formatting

parent ef159da8
......@@ -18,8 +18,12 @@ class RuntimeStats {
}
def runtimeString = {
val rt = runtime / 1000;
"%dd %dh %dm %ds".format(rt / 86400, rt / 3600, rt / 60, rt)
val rt = runtime / 1000
val s = rt % 60
val m = (rt % 3600) / 60
val h = (rt % 86400) / 3600
val d = rt / 86400
"%dd %dh %dm %ds".format(d, h, m, s)
}
def announces = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment