Use the ISO format for time
This commit is contained in:
parent
1c8cbf808b
commit
51b89b9d05
|
@ -138,5 +138,5 @@ def sendRelayNotification(name, cast):
|
|||
if cast["type"] in main.relayConnections[i].subscriptions:
|
||||
newCast = deepcopy(cast)
|
||||
newCast["name"] = name
|
||||
newCast["time"] = str(datetime.now())
|
||||
newCast["time"] = str(datetime.now().isoformat())
|
||||
main.relayConnections[i].send(dumps(newCast))
|
||||
|
|
Loading…
Reference in New Issue