mirror of
https://github.com/Syncplay/syncplay
synced 2025-01-19 13:30:48 +00:00
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)
|
||||
|
||||
def formatTime(self, value):
|
||||
value = round(value)
|
||||
weeks = value // 604800
|
||||
days = (value % 604800) // 86400
|
||||
hours = (value % 86400) // 3600
|
||||
|
Loading…
Reference in New Issue
Block a user