fix(i18n): change default locale from `en_US` to `en-US` (#11103)
This commit is contained in:
parent
f25c97671a
commit
b9647b7347
|
@ -40,7 +40,7 @@ export function _keyValueDiffersFactory() {
|
|||
ViewUtils,
|
||||
{provide: IterableDiffers, useFactory: _iterableDiffersFactory},
|
||||
{provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory},
|
||||
{provide: LOCALE_ID, useValue: 'en_US'},
|
||||
{provide: LOCALE_ID, useValue: 'en-US'},
|
||||
]
|
||||
})
|
||||
export class ApplicationModule {
|
||||
|
|
|
@ -11,7 +11,7 @@ import {beforeEach, beforeEachProviders, ddescribe, describe, expect, iit, injec
|
|||
|
||||
export function main() {
|
||||
describe('Application module', () => {
|
||||
it('should set the default locale to "en_US"',
|
||||
inject([LOCALE_ID], (defaultLocale: string) => { expect(defaultLocale).toEqual('en_US'); }));
|
||||
it('should set the default locale to "en-US"',
|
||||
inject([LOCALE_ID], (defaultLocale: string) => { expect(defaultLocale).toEqual('en-US'); }));
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue