fix big hours

master
Bel LaPointe 2020-02-17 14:52:54 -07:00
parent df3d56f677
commit aee3922767
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ func (t *BasicStopwatch) left() string {
return fmt.Sprintf(
"%02d:%02d:%02d",
int(cur.Hours()),
int(cur.Minutes()),
int(cur.Minutes())%60,
int(cur.Seconds())%60,
)
}

View File

@ -18,7 +18,7 @@ func (t *BasicTimer) left() string {
return fmt.Sprintf(
"%02d:%02d:%02d",
int(cur.Hours()),
int(cur.Minutes()),
int(cur.Minutes())%60,
int(cur.Seconds())%60,
)
}