Remove hours from seconds

This commit is contained in:
2021-11-16 18:51:05 +01:00
parent a1986e1feb
commit 5ccf2559ee

View File

@@ -45,7 +45,7 @@ export async function getDevelopmentHours(start: string, end: string): Promise<T
const hours = Math.floor(total / 3600)
const minutes = Math.floor(total / 60) - hours * 60
const seconds = Math.floor(total) - minutes * 60
const seconds = Math.floor(total) - minutes * 60 - hours * 360
return {
hours,