mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-22 01:47:08 +00:00
Fixed Angular Material datepicker examples
This commit is contained in:
@@ -9,9 +9,10 @@ import {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/
|
||||
// the `default as` syntax.
|
||||
import * as _moment from 'moment';
|
||||
// tslint:disable-next-line:no-duplicate-imports
|
||||
import {default as _rollupMoment} from 'moment';
|
||||
// import {default as _rollupMoment} from 'moment';
|
||||
|
||||
const moment = _rollupMoment || _moment;
|
||||
// const moment = _rollupMoment || _moment;
|
||||
const moment = _moment;
|
||||
|
||||
// See the Moment.js docs for the meaning of these formats:
|
||||
// https://momentjs.com/docs/#/displaying/format/
|
||||
|
||||
Reference in New Issue
Block a user