fix big hours
parent
df3d56f677
commit
aee3922767
|
|
@ -18,7 +18,7 @@ func (t *BasicStopwatch) left() string {
|
||||||
return fmt.Sprintf(
|
return fmt.Sprintf(
|
||||||
"%02d:%02d:%02d",
|
"%02d:%02d:%02d",
|
||||||
int(cur.Hours()),
|
int(cur.Hours()),
|
||||||
int(cur.Minutes()),
|
int(cur.Minutes())%60,
|
||||||
int(cur.Seconds())%60,
|
int(cur.Seconds())%60,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ func (t *BasicTimer) left() string {
|
||||||
return fmt.Sprintf(
|
return fmt.Sprintf(
|
||||||
"%02d:%02d:%02d",
|
"%02d:%02d:%02d",
|
||||||
int(cur.Hours()),
|
int(cur.Hours()),
|
||||||
int(cur.Minutes()),
|
int(cur.Minutes())%60,
|
||||||
int(cur.Seconds())%60,
|
int(cur.Seconds())%60,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue