[bug] fix time calculation #143

This commit is contained in:
Alireza Ahmadi
2023-04-05 09:36:23 +02:00
parent d0ce67a8f0
commit 38db94f507
6 changed files with 15 additions and 15 deletions

View File

@@ -101,10 +101,10 @@
else return 'red'
},
get delayedExpireDays() {
return this.client && this.client.expiryTime < 0 ? this.client.expiryTime / -84600000 : 0;
return this.client && this.client.expiryTime < 0 ? this.client.expiryTime / -86400000 : 0;
},
set delayedExpireDays(days){
this.client.expiryTime = -84600000 * days;
this.client.expiryTime = -86400000 * days;
},
},
methods: {