summaryrefslogtreecommitdiff
path: root/web/template/status_poll.tmpl
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-03-02 11:27:30 +0100
committerLibravatar GitHub <noreply@github.com>2025-03-02 11:27:30 +0100
commit4c9901fc035ece13b2dbaca21465a534abb77a04 (patch)
tree4aad111cdd492fa908fd9a6c0ab1d27e7f8ddf06 /web/template/status_poll.tmpl
parent[feature] add microformat support (#3848) (diff)
downloadgotosocial-4c9901fc035ece13b2dbaca21465a534abb77a04.tar.xz
[chore] little frontend tweaks (#3852)
* [chore] little frontend tweaks * beep boop * poke * clarify server time
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 8b3f0c60a..9c2d29166 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 -}}</time>
+ closed <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt | timestampPrecise -}}</time>
{{- else if .Poll.ExpiresAt -}}
- open until <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt -}}</time>
+ open until <time datetime="{{- .Poll.ExpiresAt -}}">{{- .Poll.ExpiresAt | timestampPrecise -}}</time>
{{- else -}}
open forever
{{- end -}}