diff options
| author | 2025-03-01 18:41:32 +0800 | |
|---|---|---|
| committer | 2025-03-01 11:41:32 +0100 | |
| commit | b4bb97225e7dd8906484b09b4f736395e779eead (patch) | |
| tree | 5dfefb3ffa286486ca60c4ae9c2abbb9178071af /web/template/status_poll.tmpl | |
| parent | [feature] Implement CSV import for mutes (#3696) (diff) | |
| download | gotosocial-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.tmpl | 4 |
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 {{- 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 -}} |
