Skip to content

Commit

Permalink
fix: fix locale import
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Oct 5, 2019
1 parent 63a4871 commit 06c8028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/i18n/date-helper.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Injector } from '@angular/core';
import { TestBed } from '@angular/core/testing';

import { enUS } from 'date-fns/locale';
import * as enUS from 'date-fns/locale/en';

import { NZ_DATE_CONFIG } from './date-config';
import { DateHelperByDatePipe, DateHelperService } from './date-helper.service';
import en_US from './languages/en_US';
Expand Down

0 comments on commit 06c8028

Please sign in to comment.