Changed "Last (estimated) print time" to real time

To answer https://github.com/foosel/OctoPrint/issues/1048 I changed L357 to "output += gettext("Last Print Time") + ": " + formatDuration(data["prints"]["last"]["printTime"]);" as proposed by @ntoff
This commit is contained in:
I-am-me authored and GitHub committed 2016-09-29 14:26:47 +02:00
1 parent 354042b84d
commit 369e43eb0e
1 file changed
+1 -1
@@ -354,7 +354,7 @@ $(function() {
if (data["prints"] && data["prints"]["last"]) {
output += gettext("Last printed") + ": " + formatTimeAgo(data["prints"]["last"]["date"]) + "<br>";
if (data["prints"]["last"]["lastPrintTime"]) {
output += gettext("Last print time") + ": " + formatDuration(data["prints"]["last"]["lastPrintTime"]);
output += gettext("Last Print Time") + ": " + formatDuration(data["prints"]["last"]["printTime"]);
}
}
return output;