INIT commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export const minutesToHumanReadable = (totalMinutes) => {
|
||||
const hours = Math.round(totalMinutes / 60);
|
||||
const minutes = totalMinutes % 60;
|
||||
return `${hours}h ${minutes}min`
|
||||
}
|
||||
Reference in New Issue
Block a user