@veritree/ui 0.81.0-2 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
:maximum-view="maximumView"
|
|
23
23
|
:show-edge-dates="showEdgeDates"
|
|
24
24
|
:disabled-dates="disabledDatesComputed"
|
|
25
|
-
:use-utc="useUtc"
|
|
26
25
|
@input="onInput"
|
|
27
26
|
>
|
|
28
27
|
<template #prevIntervalBtn>
|
|
@@ -37,7 +36,6 @@
|
|
|
37
36
|
</template>
|
|
38
37
|
|
|
39
38
|
<script>
|
|
40
|
-
import utc from 'dayjs/plugin/utc';
|
|
41
39
|
import {
|
|
42
40
|
formControlMixin,
|
|
43
41
|
formControlStyleMixin,
|
|
@@ -48,7 +46,6 @@ import VTPopoverContent from './../Popover/VTPopoverContent.vue';
|
|
|
48
46
|
import Datepicker from '@sum.cumo/vue-datepicker';
|
|
49
47
|
import { IconChevronLeft, IconChevronRight } from '@veritree/icons';
|
|
50
48
|
import dayjs from 'dayjs';
|
|
51
|
-
dayjs.extend(utc);
|
|
52
49
|
|
|
53
50
|
export default {
|
|
54
51
|
name: 'VTInputDate',
|
|
@@ -101,10 +98,6 @@ export default {
|
|
|
101
98
|
type: Boolean,
|
|
102
99
|
default: false,
|
|
103
100
|
},
|
|
104
|
-
useUtc: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: true,
|
|
107
|
-
},
|
|
108
101
|
},
|
|
109
102
|
|
|
110
103
|
computed: {
|
|
@@ -119,7 +112,7 @@ export default {
|
|
|
119
112
|
},
|
|
120
113
|
|
|
121
114
|
valueModelFormatted() {
|
|
122
|
-
return dayjs(this.value).
|
|
115
|
+
return dayjs(this.value).format(this.format);
|
|
123
116
|
},
|
|
124
117
|
|
|
125
118
|
disabledDatesComputed() {
|