From 881529a401815a946532dcff56c0e674a6c501de Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 4 Mar 2018 04:34:39 -0600 Subject: [PATCH] Fix #9904 - toDigital should show 00-99 hours --- Marlin/src/libs/duration_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/libs/duration_t.h b/Marlin/src/libs/duration_t.h index 9db5d2365..f38ab0224 100644 --- a/Marlin/src/libs/duration_t.h +++ b/Marlin/src/libs/duration_t.h @@ -154,7 +154,7 @@ struct duration_t { return d >= 10 ? 9 : 8; } else if (h < 100) { - sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m); + sprintf_P(buffer, PSTR("%02u:%02u"), h, m); return 5; } else {