mirror of
https://github.com/KevinMidboe/homeChecker.git
synced 2026-01-07 17:55:49 +00:00
Merge branch 'master' of github.com:KevinMidboe/homeChecker
This commit is contained in:
@@ -44,7 +44,7 @@ def convertTime(seconds):
|
||||
if not isinstance(seconds, (int, float)):
|
||||
return 'Null'
|
||||
|
||||
delta = float("%0.2f" % (time() - seconds))
|
||||
delta = int(time() - seconds)
|
||||
if delta >= 86400:
|
||||
return str(delta//86400) + ' days'
|
||||
elif delta >= 3600:
|
||||
|
||||
Reference in New Issue
Block a user