From 7a500fb1da4f9e67405b4ed1daa0627ef29361f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rajmund=20Hru=C5=A1ka?= <rajmund.hruska@cesnet.cz>
Date: Mon, 2 Jan 2023 13:04:33 +0100
Subject: [PATCH] Change format to RFC 3339 in getClients
---
warden_server/warden_server.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/warden_server/warden_server.py b/warden_server/warden_server.py
index 51b8cb5..6e0e5a2 100755
--- a/warden_server/warden_server.py
+++ b/warden_server/warden_server.py
@@ -1637,6 +1637,7 @@ class WardenHandler(ObjectBase):
clients_dict = [c._asdict() for c in clients]
for c in clients_dict:
del c['secret']
+ c['registered'] = c['registered'].isoformat() + 'Z'
return {"clients": clients_dict}
@expose(read=True)
--
GitLab