Update /health endpoint to be in local timezone

This commit is contained in:
Matthias
2022-01-28 07:57:43 +01:00
parent e72c3ec19f
commit 15d5389564
6 changed files with 14 additions and 8 deletions

View File

@@ -1319,8 +1319,7 @@ class Telegram(RPCHandler):
"""
try:
health = self._rpc._health()
message = f"Last process: `{health['last_process']}`"
logger.debug(message)
message = f"Last process: `{health['last_process_loc']}`"
self._send_msg(message)
except RPCException as e:
self._send_msg(str(e))