From c16c628e96dfc7421c95fb561d43df3f10750d49 Mon Sep 17 00:00:00 2001 From: Khalid MOUTAOUAKIL Date: Tue, 7 Apr 2026 00:39:30 +0200 Subject: [PATCH] Fix: last_checkin datetime to string avec |string filtre Jinja2 Co-Authored-By: Claude Opus 4.6 (1M context) --- app/templates/qualys_agents.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/qualys_agents.html b/app/templates/qualys_agents.html index 11d0185..96a2e82 100644 --- a/app/templates/qualys_agents.html +++ b/app/templates/qualys_agents.html @@ -133,7 +133,7 @@ {{ a.hostname }} {{ a.os or '-' }} {{ a.agent_version or '-' }} - {{ a.last_checkin[:10] if a.last_checkin else '-' }} + {% if a.last_checkin %}{{ (a.last_checkin|string)[:10] }}{% else %}-{% endif %} {{ a.etat or '-' }} {% endfor %}