Make two functions to convert ISO 8601 <=> YYYY-MM-DD hh:mm:ss

This commit is contained in:
Louis Lam
2022-09-28 00:48:15 +08:00
parent b1465c0282
commit 204339fbed
5 changed files with 37 additions and 35 deletions

View File

@@ -103,7 +103,7 @@
<div class="my-3">
<label class="form-label">{{ $t("DateTime Range") }}</label>
<Datepicker
v-model="maintenance.dateTimeRange"
v-model="maintenance.dateRange"
:dark="$root.isDark"
range textInput
:monthChangeOnScroll="false"
@@ -369,8 +369,7 @@ export default {
strategy: "single",
active: 1,
intervalDay: 1,
dateTimeRange: [ this.minDate ],
dateRange: [],
dateRange: [ this.minDate ],
timeRange: [{
hours: 2,
minutes: 0,