File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
projects/dxc-ngx-cdk/src/lib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { DxcDateInputHelper } from "./dxc-date-input.helper";
1919import { MatCalendar } from "@angular/material/datepicker" ;
2020import { MdePopoverTrigger } from "@material-extended/mde" ;
2121import { CssUtils } from "../utils" ;
22- import { default as dayjs , Dayjs } from "dayjs" ;
22+ import dayjs from "dayjs" ;
2323import {
2424 DateInputProperties ,
2525 EmittedValue ,
@@ -311,7 +311,7 @@ export class DxcDateInputComponent implements OnInit {
311311 }
312312 }
313313
314- onSelectedChangeHandler ( value : Dayjs ) {
314+ onSelectedChangeHandler ( value : dayjs . Dayjs ) {
315315 let _stringValue = this . getDateStringValue ( value , this . format ) ;
316316 let _dateReturn = {
317317 value : _stringValue ,
@@ -376,7 +376,7 @@ export class DxcDateInputComponent implements OnInit {
376376 return dayjs ( value , format . toUpperCase ( ) ) ;
377377 }
378378
379- private getDateStringValue ( value : Dayjs , format : string ) {
379+ private getDateStringValue ( value : dayjs . Dayjs , format : string ) {
380380 return dayjs ( value ) . format ( format . toUpperCase ( ) ) ;
381381 }
382382}
Original file line number Diff line number Diff line change 1- import { default as dayjs , Dayjs } from "dayjs" ;
1+ import dayjs from "dayjs" ;
22import localeData from "dayjs/plugin/localeData" ;
33import localizedFormat from "dayjs/plugin/localizedFormat" ;
44import customParseFormat from "dayjs/plugin/customParseFormat" ;
You can’t perform that action at this time.
0 commit comments