From 93bd4351bfb4a2f5f37ecb80d50496d044240e00 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 25 Sep 2023 20:42:40 +0800 Subject: Fix more "locale" usages (#27259) --- templates/admin/stacktrace-row.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/admin/stacktrace-row.tmpl') diff --git a/templates/admin/stacktrace-row.tmpl b/templates/admin/stacktrace-row.tmpl index b0e282bcc7..ffb8bf812f 100644 --- a/templates/admin/stacktrace-row.tmpl +++ b/templates/admin/stacktrace-row.tmpl @@ -13,7 +13,7 @@
{{.Process.Description}}
-
{{if ne .Process.Type "none"}}{{TimeSince .Process.Start .root.locale}}{{end}}
+
{{if ne .Process.Type "none"}}{{TimeSince .Process.Start ctx.Locale}}{{end}}
{{if or (eq .Process.Type "request") (eq .Process.Type "normal")}} -- cgit v1.2.3