File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Group, Button } from '../radio';
44import PropTypes from '../_util/vue-types' ;
55import { defaultConfigProvider } from '../config-provider' ;
66import { VueNode } from '../_util/type' ;
7+ import moment from 'moment' ;
78
89function getMonthsLocale ( value : moment . Moment ) : string [ ] {
910 const current = value . clone ( ) ;
Original file line number Diff line number Diff line change 11import { PropType } from 'vue' ;
2+ import moment from 'moment' ;
23import PropTypes , { withUndefined } from '../_util/vue-types' ;
34import { tuple } from '../_util/type' ;
45
Original file line number Diff line number Diff line change 1+ import moment from 'moment' ;
2+
13type Value = moment . Moment | undefined | null ;
24type Format = string | string [ ] | undefined | ( ( val ?: Value ) => string | string [ ] | undefined ) ;
35export function formatDate ( value : Value , format : Format ) {
You can’t perform that action at this time.
0 commit comments