diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-07-20 00:57:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-20 00:57:10 +0900 |
| commit | 1c200c9b941b9ec873bb765011546cac7c209390 (patch) | |
| tree | cc9b7b2111990570c77d5122228f1030965e4e30 /src | |
| parent | Update CHANGELOG.md (diff) | |
| download | misskey-1c200c9b941b9ec873bb765011546cac7c209390.tar.gz misskey-1c200c9b941b9ec873bb765011546cac7c209390.tar.bz2 misskey-1c200c9b941b9ec873bb765011546cac7c209390.zip | |
Fix #6564 (#6565)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/poll.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/components/poll.vue b/src/client/components/poll.vue index e0c42cd008..f67abf1543 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, |