deleting contacts
This commit is contained in:
@@ -16,7 +16,7 @@ export function shortDateFormat(then, locale) {
|
||||
|
||||
// Convert seconds to minutes:seconds, i.e. 156 sec -> 2:36.
|
||||
export function secondsToTime(seconds) {
|
||||
const min = Math.floor(seconds % 3600 / 60);
|
||||
const min = Math.floor(seconds / 60);
|
||||
let sec = seconds % 60;
|
||||
sec = sec < 10 ? `0${sec}` : sec;
|
||||
return `${min}:${sec}`;
|
||||
|
||||
Reference in New Issue
Block a user