Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3022)

Unified Diff: appengine/swarming/ui/res/imp/tasklist/task-list-data.html

Issue 2920473002: Make tasklist and taskpage use subsecond durations (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/ui/res/imp/tasklist/task-list-data.html
diff --git a/appengine/swarming/ui/res/imp/tasklist/task-list-data.html b/appengine/swarming/ui/res/imp/tasklist/task-list-data.html
index be595be1bd5b57d9390e3f3b653d6cacf3766610..e969120292db919686f60c25e5acd9d50467ff6e 100644
--- a/appengine/swarming/ui/res/imp/tasklist/task-list-data.html
+++ b/appengine/swarming/ui/res/imp/tasklist/task-list-data.html
@@ -257,9 +257,7 @@
t.duration = (now - t.started_ts) / 1000;
}
// Make the duration human readable
- if (t.duration){
- t.human_duration = this._humanDuration(t.duration);
- }
+ t.human_duration = this._humanDuration(t.duration);
}.bind(this));
return json.items;
}

Powered by Google App Engine
This is Rietveld 408576698