mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Update Maintenance UI for recurring
This commit is contained in:
		@@ -26,6 +26,15 @@ export default {
 | 
			
		||||
            return dayjs.tz(value, this.timezone).utc().format();
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Used for <input type="datetime" />
 | 
			
		||||
         * @param value
 | 
			
		||||
         * @returns {string}
 | 
			
		||||
         */
 | 
			
		||||
        toDateTimeInputFormat(value) {
 | 
			
		||||
            return this.datetimeFormat(value, "YYYY-MM-DDTHH:mm");
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
         * Return a given value in the format YYYY-MM-DD HH:mm:ss
 | 
			
		||||
         * @param {any} value Value to format as date time
 | 
			
		||||
 
 | 
			
		||||
@@ -46,6 +46,10 @@ export default {
 | 
			
		||||
                }
 | 
			
		||||
                return this.userTheme;
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        isDark() {
 | 
			
		||||
            return this.theme === "dark";
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user