Skip to content

Commit

Permalink
Fix excel export
Browse files Browse the repository at this point in the history
Remove zfill for hours
  • Loading branch information
justin-chandra committed Jun 1, 2023
1 parent d39c47d commit dc24aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoprint_printhistory/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def formatPrintTime(valueInSeconds):
tmp = tmp % 60
seconds = int(tmp)

return str(hours).zfill(3) + ":" + str(minutes).zfill(2) + ":" + str(seconds).zfill(2)
return str(hours) + ":" + str(minutes).zfill(2) + ":" + str(seconds).zfill(2)
else:
return "-"

Expand Down

0 comments on commit dc24aca

Please sign in to comment.