Fix time formatting issue
This commit is contained in:
parent
f4c0773437
commit
477f86e006
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if response["checkedIn"] :
|
||||||
name = s["ds100"]
|
name = s["ds100"]
|
||||||
else :
|
else :
|
||||||
name = s["name"]
|
name = s["name"]
|
||||||
arrtime = time.strftime("%H:%m", time.localtime(int(s["realTime"])))
|
arrtime = time.strftime("%H:%M", time.localtime(int(s["realTime"])))
|
||||||
delay = (int(s["realTime"]) - int(s["scheduledTime"])) // 60
|
delay = (int(s["realTime"]) - int(s["scheduledTime"])) // 60
|
||||||
s = f'{name} {arrtime}'
|
s = f'{name} {arrtime}'
|
||||||
if delay > 0 :
|
if delay > 0 :
|
||||||
|
|
Loading…
Reference in a new issue