Use the ISO format for time

This commit is contained in:
Mark Veidemanis 2019-08-11 22:05:34 +01:00
parent 1c8cbf808b
commit 51b89b9d05
1 changed files with 1 additions and 1 deletions

View File

@ -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))