File tree 3 files changed +4
-0
lines changed
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';
4
4
import PropTypes from '../_util/vue-types' ;
5
5
import { defaultConfigProvider } from '../config-provider' ;
6
6
import { VueNode } from '../_util/type' ;
7
+ import moment from 'moment' ;
7
8
8
9
function getMonthsLocale ( value : moment . Moment ) : string [ ] {
9
10
const current = value . clone ( ) ;
Original file line number Diff line number Diff line change 1
1
import { PropType } from 'vue' ;
2
+ import moment from 'moment' ;
2
3
import PropTypes , { withUndefined } from '../_util/vue-types' ;
3
4
import { tuple } from '../_util/type' ;
4
5
Original file line number Diff line number Diff line change
1
+ import moment from 'moment' ;
2
+
1
3
type Value = moment . Moment | undefined | null ;
2
4
type Format = string | string [ ] | undefined | ( ( val ?: Value ) => string | string [ ] | undefined ) ;
3
5
export function formatDate ( value : Value , format : Format ) {
You can’t perform that action at this time.
0 commit comments