Skip to content

Commit

Permalink
import defaul enUS from date-fns/locale not from esm version
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-B90 authored and sapozhnikovay committed Jul 1, 2021
1 parent 7501aae commit 3dfbc5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
parseJSON,
} from 'date-fns';
import { zonedTimeToUtc } from 'date-fns-tz';
import { enUS } from 'date-fns/esm/locale';
import { enUS } from 'date-fns/locale';
import { NGX_MAT_DATEFNS_LOCALES } from './ngx-mat-datefns-locales';

export interface NgxDateFnsDateAdapterOptions {
Expand Down

0 comments on commit 3dfbc5c

Please sign in to comment.