@veritree/ui 0.78.0-2 → 0.78.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
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
</template>
|
|
37
37
|
|
|
38
38
|
<script>
|
|
39
|
+
import utc from 'dayjs/plugin/utc';
|
|
39
40
|
import {
|
|
40
41
|
formControlMixin,
|
|
41
42
|
formControlStyleMixin,
|
|
@@ -46,6 +47,7 @@ import VTPopoverContent from './../Popover/VTPopoverContent.vue';
|
|
|
46
47
|
import Datepicker from '@sum.cumo/vue-datepicker';
|
|
47
48
|
import { IconChevronLeft, IconChevronRight } from '@veritree/icons';
|
|
48
49
|
import dayjs from 'dayjs';
|
|
50
|
+
dayjs.extend(utc);
|
|
49
51
|
|
|
50
52
|
export default {
|
|
51
53
|
name: 'VTInputDate',
|
|
@@ -112,7 +114,7 @@ export default {
|
|
|
112
114
|
},
|
|
113
115
|
|
|
114
116
|
valueModelFormatted() {
|
|
115
|
-
return dayjs(this.value).format(this.format);
|
|
117
|
+
return dayjs(this.value).utc().format(this.format);
|
|
116
118
|
},
|
|
117
119
|
|
|
118
120
|
disabledDatesComputed() {
|