mirror of https://github.com/franjsco/tomadoro
4 lines
96 B
JavaScript
4 lines
96 B
JavaScript
|
export const formatMinute = s => {
|
||
|
return (s - (s %= 60)) / 60 + (9 < s ? ":" : ":0") + s;
|
||
|
};
|