7.0.0-rc.3
Development
https://stackblitz.com/edit/angular-h9aj2m?file=src%2Fapp%2Fapp.module.ts
No error should be return.
Currently, (Angular 7.2.0-rc.0) changed the default 'pt' locale to pt-BR. However, the NZ_I18N version of pt-PT is still expecting the locale to be 'pt'.
From now on the Angular default PT stopped meaning pt-PT but is now mapping to the locale pt-BR, see link: https://angular.io/guide/i18n#setting-up-the-locale-of-your-app .
This causes an inconsistency between ng-zorro and angular default PT meaning, since each one point to different locales.
Check this post: https://github.com/angular/angular/issues/20286#issuecomment-343649893
Maybe this could work.
import pt from '@angular/common/locales/pt';
...
registerLocaleData(pt);
Most helpful comment
Check this post: https://github.com/angular/angular/issues/20286#issuecomment-343649893
Maybe this could work.