From b4bb97225e7dd8906484b09b4f736395e779eead Mon Sep 17 00:00:00 2001 From: CDN Date: Sat, 1 Mar 2025 18:41:32 +0800 Subject: [feature/frontend] use localized time string in status & poll info page (#3821) --- web/template/status_info.tmpl | 4 ++-- web/template/status_poll.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'web/template') diff --git a/web/template/status_info.tmpl b/web/template/status_info.tmpl index a66ca05c4..7ac81a78a 100644 --- a/web/template/status_info.tmpl +++ b/web/template/status_info.tmpl @@ -23,14 +23,14 @@
Published
- +
{{- if .EditedAt -}}
Edited
- (edited ) + (edited )
{{ end }} diff --git a/web/template/status_poll.tmpl b/web/template/status_poll.tmpl index 9c2d29166..8b3f0c60a 100644 --- a/web/template/status_poll.tmpl +++ b/web/template/status_poll.tmpl @@ -40,9 +40,9 @@ Poll  {{- end -}} {{- if .Poll.Expired -}} - closed + closed {{- else if .Poll.ExpiresAt -}} - open until + open until {{- else -}} open forever {{- end -}} -- cgit v1.2.3