diff --git a/src/components/datepicker/nz-datepicker.component.ts b/src/components/datepicker/nz-datepicker.component.ts index c514007ec2a..1045502bc30 100644 --- a/src/components/datepicker/nz-datepicker.component.ts +++ b/src/components/datepicker/nz-datepicker.component.ts @@ -73,17 +73,17 @@ import { NzLocaleService } from '../locale/index'; - {{ 'DateTime.nMonth' | nzTranslate: { num: _showMonth + 1 } }} - {{ 'DateTime.nYear' | nzTranslate: { num: _showYear } }} + {{ 'DateTime.nMonth' | nzTranslate: {num: _showMonth + 1} }} + {{ 'DateTime.nYear' | nzTranslate: {num: _showYear} }}