Skip to content

Commit f96a094

Browse files
author
Nathan Reyes
committed
Fix mask in docs example
1 parent e98036c commit f96a094

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/.vuepress/components/guide/datepicker/time-adjust.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export default {
2525
return {
2626
customer: {
2727
name: 'Nathan Reyes',
28-
birthday: '1983-01-21T02:30:00-5:00',
28+
birthday: '1983-01-21T07:30:00.000Z',
2929
},
3030
modelConfig: {
3131
type: 'string',
32-
mask: 'YYYY-MM-DDTHH:mm:ssXXX',
32+
mask: 'iso',
3333
timeAdjust: '12:00:00', // Assign noon time to selected dates
3434
},
3535
};

docs/datepicker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ data() {
268268
return {
269269
customer: {
270270
name: 'Nathan Reyes',
271-
birthday: '1983-01-21T02:30:00-5:00',
271+
birthday: '1983-01-21T07:30:00.000Z',
272272
},
273273
modelConfig: {
274274
type: 'string',
275-
mask: 'YYYY-MM-DDTHH:mm:ssXXX',
275+
mask: 'iso',
276276
timeAdjust: '12:00:00',
277277
},
278278
}

0 commit comments

Comments
 (0)