From deda3d3a3c11028cb7fd95fc16972b825faedec3 Mon Sep 17 00:00:00 2001
From: blye <blye@mathworks.com>
Date: Tue, 16 Jan 2018 08:16:42 +0000
Subject: [PATCH] Fix duration when time is exactly 86400s

---
 Marlin/ultralcd_impl_DOGM.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/ultralcd_impl_DOGM.h b/Marlin/ultralcd_impl_DOGM.h
index ada810d4a38..ee018c323a3 100644
--- a/Marlin/ultralcd_impl_DOGM.h
+++ b/Marlin/ultralcd_impl_DOGM.h
@@ -606,7 +606,7 @@ static void lcd_implementation_status_screen() {
 
       char buffer[10];
       duration_t elapsed = print_job_timer.duration();
-      bool has_days = (elapsed.value > 60*60*24L);
+      bool has_days = (elapsed.value >= 60*60*24L);
       uint8_t len = elapsed.toDigital(buffer, has_days);
       u8g.setPrintPos(SD_DURATION_X, 48);
       lcd_print(buffer);