From 51b89b9d0590ccc6a6f6bdbf548473872cd14d56 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 11 Aug 2019 22:05:34 +0100 Subject: [PATCH] Use the ISO format for time --- core/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/relay.py b/core/relay.py index 765b783..58ba3d5 100644 --- a/core/relay.py +++ b/core/relay.py @@ -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))