diff --git a/components/i18n/date-helper.service.ts b/components/i18n/date-helper.service.ts index 0799a087a12..bd3de010e93 100644 --- a/components/i18n/date-helper.service.ts +++ b/components/i18n/date-helper.service.ts @@ -12,8 +12,6 @@ import fnsFormat from 'date-fns/format'; import fnsGetISOWeek from 'date-fns/get_iso_week'; import fnsParse from 'date-fns/parse'; -import { warnDeprecation } from 'ng-zorro-antd/core'; - import { mergeDateConfig, NzDateConfig, NZ_DATE_CONFIG } from './date-config'; import { NzI18nService } from './nz-i18n.service'; @@ -87,16 +85,10 @@ export class DateHelperByDateFns extends DateHelperService { * * @see https://github.com/NG-ZORRO/ng-zorro-antd/issues/2406 - DatePipe may cause non-standard week bug, see: * - * @deprecated 9.0.0 - `DateHelperByDatePipe` would be removed in 9.0.0 due to the serious bug above, unless it's get fixed. - * Please use `DateHelperByDateFns` instead. */ export class DateHelperByDatePipe extends DateHelperService { constructor(i18n: NzI18nService, @Optional() @Inject(NZ_DATE_CONFIG) config: NzDateConfig) { super(i18n, config); - - warnDeprecation( - `'DateHelperByDatePipe' would be removed in 9.0.0 due to this serious bug of Angular: https://github.com/NG-ZORRO/ng-zorro-antd/issues/2406. Please use 'DateHelperByDateFns' instead.` - ); } getISOWeek(date: Date): number { diff --git a/components/pagination/nz-pagination.component.html b/components/pagination/nz-pagination.component.html index d9b42f5eb79..b32ea5d0792 100644 --- a/components/pagination/nz-pagination.component.html +++ b/components/pagination/nz-pagination.component.html @@ -7,7 +7,7 @@ {{ page }} - +