mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 09:03:08 +02:00
parent
ce8fa8e423
commit
1c200c9b94
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue