Update app.js

Corrected sign of timezoneOffsetHours
master
Andy Smy 2025-05-10 09:08:11 +01:00 committed by GitHub
parent 701027ddbf
commit a451f1ecf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function showLog() {
}
function formatDuration(timeDate) {
return (timeDate.getHours()-timezoneOffsetHours) + ":" + timeDate.getMinutes().toString().padStart(2, "0") + ":" + timeDate.getSeconds().toString().padStart(2, "0") + "";
return (timeDate.getHours() + timezoneOffsetHours) + ":" + timeDate.getMinutes().toString().padStart(2, "0") + ":" + timeDate.getSeconds().toString().padStart(2, "0") + "";
}
function formatTimeOfDay(timeSig) {