Use the ISO format for time

pull/1/head
Mark Veidemanis 5 years ago
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…
Cancel
Save