|
@@ -1969,13 +1969,19 @@ void kill_screen(const char* lcd_msg) {
|
1969
|
1969
|
print_job_counter.loadStats();
|
1970
|
1970
|
printStatistics stats = print_job_counter.getStats();
|
1971
|
1971
|
|
1972
|
|
- char timeString[8];
|
1973
|
|
- sprintf_P(timeString, PSTR("%i:%02i"), int(stats.printTime / 60 / 60), int(stats.printTime / 60) % 60);
|
|
1972
|
+ char timeString[14];
|
|
1973
|
+ sprintf_P(timeString,
|
|
1974
|
+ PSTR("%i" MSG_SHORT_DAY " %i" MSG_SHORT_HOUR " %i" MSG_SHORT_MINUTE),
|
|
1975
|
+ int(stats.printTime / 60 / 60 / 24),
|
|
1976
|
+ int((stats.printTime / 60 / 60) % 24),
|
|
1977
|
+ int((stats.printTime / 60) % 60)
|
|
1978
|
+ );
|
1974
|
1979
|
|
1975
|
1980
|
START_SCREEN(); // 12345678901234567890
|
1976
|
1981
|
STATIC_ITEM(MSG_INFO_PRINT_COUNT ": ", false, false, itostr3left(stats.totalPrints)); // Print Count: 999
|
1977
|
1982
|
STATIC_ITEM(MSG_INFO_COMPLETED_PRINTS": ", false, false, itostr3left(stats.finishedPrints)); // Completed : 666
|
1978
|
|
- STATIC_ITEM(MSG_INFO_PRINT_TIME ": ", false, false, timeString); // Total Time : 123:45
|
|
1983
|
+ STATIC_ITEM(MSG_INFO_PRINT_TIME ": ", false, false); // Total Time :
|
|
1984
|
+ STATIC_ITEM(" ", false, false, timeString); // 12345d 12h 34m
|
1979
|
1985
|
END_SCREEN();
|
1980
|
1986
|
}
|
1981
|
1987
|
#endif // PRINTCOUNTER
|