fix(poll): show poll times

This commit is contained in:
三咲智子 2022-12-31 05:43:17 +08:00
parent 58e51d4358
commit 4bc72905de
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
9 changed files with 9 additions and 9 deletions

View file

@ -60,7 +60,7 @@ async function vote(e: Event) {
</div>
</template>
<div text-sm>
{{ $t('status.poll.count', formatHumanReadableNumber(poll.votersCount ?? 0)) }}
{{ $t('status.poll.count', [formatHumanReadableNumber(poll.votersCount ?? 0)]) }}
&middot;
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>