More progress. More work.
[tripe-android] / terminal.scala
index 9722e2b..7ca56d3 100644 (file)
@@ -147,7 +147,7 @@ object TerminalEyecandy extends Eyecandy {
       val eta = model.eta(cur);
       if (eta >= 0) {
        sb += ' '; sb += '(';
-       sb ++= formatTime(ceil(eta/1000.0).toInt);
+       sb ++= formatDuration(ceil(eta/1000.0).toInt);
        sb += ')';
       }
 
@@ -156,7 +156,7 @@ object TerminalEyecandy extends Eyecandy {
     }
 
     def done() {
-      val t = formatTime(ceil((currentTimeMillis - t0)/1000.0).toInt);
+      val t = formatDuration(ceil((currentTimeMillis - t0)/1000.0).toInt);
       record(s"${model.what} done ($t)");
     }