Skip to content

Commit

Permalink
Pass seconds to formatting function instead of minutes
Browse files Browse the repository at this point in the history
Fixes #1622
  • Loading branch information
ReinvdZee authored and blammit committed Oct 24, 2024
1 parent 5a85cc6 commit c64d1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function formatAsHHMMSS(seconds, showUnits) {
function formatGeneratorRuntime(seconds) {
return seconds < 60
? secondsToString(seconds)
: formatAsHHMM(seconds / 60)
: formatAsHHMM(seconds)
}

function reactToSignalOnce(sig, slot) {
Expand Down

0 comments on commit c64d1e4

Please sign in to comment.