diff --git a/src/App/ZODBConnectionDebugger.py b/src/App/ZODBConnectionDebugger.py index 2895369614..9167d42c32 100644 --- a/src/App/ZODBConnectionDebugger.py +++ b/src/App/ZODBConnectionDebugger.py @@ -64,6 +64,7 @@ def get_info(connection): request_info_formatted = pprint.pformat(request_info) if opened is not None: + # output UTC time with the standard Z time zone indicator open_since = "{}".format( time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(opened))) open_for = "{:.2f}s".format(now - opened) @@ -71,7 +72,6 @@ def get_info(connection): open_since = '(closed)' open_for = '' - # output UTC time with the standard Z time zone indicator result.append({ 'open_since': open_since, 'open_for': open_for, diff --git a/src/App/dtml/zodbConnections.dtml b/src/App/dtml/zodbConnections.dtml index 93c4e5e739..36273c7459 100644 --- a/src/App/dtml/zodbConnections.dtml +++ b/src/App/dtml/zodbConnections.dtml @@ -1,8 +1,4 @@ - - -