From 17f8ac0dbcfaff0b29d5f394f2894c32e7d74f8c Mon Sep 17 00:00:00 2001 From: voson Date: Sat, 21 Mar 2026 12:03:44 +0800 Subject: [PATCH] =?UTF-8?q?web:=20=E5=AE=A1=E8=AE=A1=E9=A1=B5=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=8C=89=E6=B5=8F=E8=A7=88=E5=99=A8=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=97=B6=E5=8C=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- crates/secrets-mcp/src/web.rs | 8 ++++++-- crates/secrets-mcp/templates/audit.html | 16 ++++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/crates/secrets-mcp/src/web.rs b/crates/secrets-mcp/src/web.rs index 3bb8455..2d33fd7 100644 --- a/crates/secrets-mcp/src/web.rs +++ b/crates/secrets-mcp/src/web.rs @@ -1,4 +1,5 @@ use askama::Template; +use chrono::SecondsFormat; use std::net::SocketAddr; use axum::{ @@ -61,7 +62,8 @@ struct AuditPageTemplate { } struct AuditEntryView { - created_at: String, + /// RFC3339 UTC for `