Fix #9904 - toDigital should show 00-99 hours

2.0.x
Scott Lahteine 7 years ago
parent ed758de80d
commit 881529a401

@ -154,7 +154,7 @@ struct duration_t {
return d >= 10 ? 9 : 8; return d >= 10 ? 9 : 8;
} }
else if (h < 100) { else if (h < 100) {
sprintf_P(buffer, PSTR("%02u:%02u"), h % 24, m); sprintf_P(buffer, PSTR("%02u:%02u"), h, m);
return 5; return 5;
} }
else { else {

Loading…
Cancel
Save