Fix #9904 - toDigital should show 00-99 hours

This commit is contained in:
Scott Lahteine 2018-03-04 04:34:39 -06:00
parent ed758de80d
commit 881529a401

View File

@ -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 {