summaryrefslogtreecommitdiff
path: root/web/template/status_poll.tmpl
diff options
context:
space:
mode:
authorLibravatar CDN <git@cdn0x12.dev>2025-03-01 18:41:32 +0800
committerLibravatar GitHub <noreply@github.com>2025-03-01 11:41:32 +0100
commitb4bb97225e7dd8906484b09b4f736395e779eead (patch)
tree5dfefb3ffa286486ca60c4ae9c2abbb9178071af /web/template/status_poll.tmpl
parent[feature] Implement CSV import for mutes (#3696) (diff)
downloadgotosocial-b4bb97225e7dd8906484b09b4f736395e779eead.tar.xz
[feature/frontend] use localized time string in status & poll info page (#3821)
Diffstat (limited to 'web/template/status_poll.tmpl')
-rw-r--r--web/template/status_poll.tmpl4
1 files changed, 2 insertions, 2 deletions
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&nbsp;
{{- end -}}
{{- if .Poll.Expired -}}
- closed <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt | timestampPrecise -}}</time>
+ closed <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt -}}</time>
{{- else if .Poll.ExpiresAt -}}
- open until <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt | timestampPrecise -}}</time>
+ open until <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt -}}</time>
{{- else -}}
open forever
{{- end -}}