File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
projects/igniteui-angular/src/lib/date-picker Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,6 @@ export class IgxDatePickerComponent extends PickerBaseDirective implements Contr
518518 @Optional ( ) @Inject ( IGX_INPUT_GROUP_TYPE ) _inputGroupType ?: IgxInputGroupType ) {
519519 super ( element , _localeId , _inputGroupType ) ;
520520 initi18n ( _localeId ) ;
521- this . locale = this . locale || getCurrentI18n ( ) ;
522521 getI18nManager ( ) . onResourceChange ( ( ) => {
523522 this . _resourceStrings = getCurrentResourceStrings ( DatePickerResourceStringsEN , false ) ;
524523 } ) ;
@@ -764,8 +763,6 @@ export class IgxDatePickerComponent extends PickerBaseDirective implements Contr
764763 /** @hidden @internal */
765764 public ngOnInit ( ) : void {
766765 this . _ngControl = this . _injector . get < NgControl > ( NgControl , null ) ;
767- initi18n ( this . _localeId ) ;
768- this . locale = this . locale || getCurrentI18n ( ) ;
769766 }
770767
771768 /** @hidden @internal */
You can’t perform that action at this time.
0 commit comments