Wrong conversion

This commit is contained in:
2021-11-16 18:54:43 +01:00
parent 0a790bc2f7
commit 2352432380

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 - hours * 360
const seconds = Math.floor(total) - minutes * 60 - hours * 3600
return {
hours,