Fix for 23 minutes and 60 seconds rounding bug.
This commit is contained in:
parent
311a095e00
commit
2d771a60c2
@ -446,6 +446,7 @@ class UiManager(object):
|
|||||||
return self.__ui.promptFor(prompt)
|
return self.__ui.promptFor(prompt)
|
||||||
|
|
||||||
def formatTime(self, value):
|
def formatTime(self, value):
|
||||||
|
value = round(value)
|
||||||
weeks = value // 604800
|
weeks = value // 604800
|
||||||
days = (value % 604800) // 86400
|
days = (value % 604800) // 86400
|
||||||
hours = (value % 86400) // 3600
|
hours = (value % 86400) // 3600
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user