mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 04:59:05 +08:00
Implement generateTimeslot() for recurring interval type
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="timeslot">
|
||||
<div v-if="maintenance.strategy === 'manual'">
|
||||
<div>
|
||||
<div v-if="maintenance.strategy === 'manual'" class="timeslot">
|
||||
{{ $t("Manual") }}
|
||||
</div>
|
||||
<div v-else-if="maintenance.timeslotList.length > 0">
|
||||
<div v-else-if="maintenance.timeslotList.length > 0" class="timeslot">
|
||||
{{ maintenance.timeslotList[0].startDateServerTimezone }}
|
||||
<span class="to">-</span>
|
||||
{{ maintenance.timeslotList[0].endDateServerTimezone }}
|
||||
|
@@ -199,8 +199,7 @@
|
||||
range datePicker
|
||||
:monthChangeOnScroll="false"
|
||||
:minDate="minDate"
|
||||
:enableTimePicker="false"
|
||||
format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd HH:mm:ss"
|
||||
modelType="yyyy-MM-dd HH:mm:ss"
|
||||
/>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user