Show up to 99:59 in digital time
This commit is contained in:
parent
9afa060ed6
commit
30b1c731b5
@ -145,7 +145,7 @@ struct duration_t {
|
||||
* 1193046:59
|
||||
*/
|
||||
void toDigital(char *buffer) const {
|
||||
int h = this->hour() % 24,
|
||||
int h = this->hour(),
|
||||
m = this->minute() % 60;
|
||||
|
||||
sprintf_P(buffer, PSTR("%02i:%02i"), h, m);
|
||||
|
Loading…
Reference in New Issue
Block a user