mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-17 17:06:56 +08:00
WIP: Add maintenance status
This commit is contained in:
@@ -12,10 +12,6 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
isActiveMaintenance(endDate) {
|
||||
return (dayjs.utc(endDate).unix() >= dayjs.utc().unix());
|
||||
},
|
||||
|
||||
toUTC(value) {
|
||||
return dayjs.tz(value, this.timezone).utc().format();
|
||||
},
|
||||
|
Reference in New Issue
Block a user