diff --git a/src/client/components/poll.vue b/src/client/components/poll.vue index e0c42cd00..f67abf154 100644 --- a/src/client/components/poll.vue +++ b/src/client/components/poll.vue @@ -52,9 +52,9 @@ export default Vue.extend({ }, timer(): string { return this.$t( - this.remaining > 86400 ? '_poll.remainingDays' : - this.remaining > 3600 ? '_poll.remainingHours' : - this.remaining > 60 ? '_poll.remainingMinutes' : '_poll.remainingSeconds', { + this.remaining >= 86400 ? '_poll.remainingDays' : + this.remaining >= 3600 ? '_poll.remainingHours' : + this.remaining >= 60 ? '_poll.remainingMinutes' : '_poll.remainingSeconds', { s: Math.floor(this.remaining % 60), m: Math.floor(this.remaining / 60) % 60, h: Math.floor(this.remaining / 3600) % 24,