From 7b5a4f71be359779f85e2dc701b2bd2998f29a17 Mon Sep 17 00:00:00 2001 From: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sun, 21 Jan 2018 02:50:54 -0600 Subject: [PATCH] Fix toDigital length with days From #9220 --- Marlin/duration_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/duration_t.h b/Marlin/duration_t.h index 5e9dd1c005..9db5d2365f 100644 --- a/Marlin/duration_t.h +++ b/Marlin/duration_t.h @@ -151,7 +151,7 @@ struct duration_t { if (with_days) { uint16_t d = this->day(); sprintf_P(buffer, PSTR("%ud %02u:%02u"), d, h % 24, m); - return d >= 10 ? 8 : 7; + return d >= 10 ? 9 : 8; } else if (h < 100) { sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m);