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} }}
- {{ 'DateTime.nYear' | nzTranslate: { num: _selectedYear } }} - {{ 'DateTime.nMonth' | nzTranslate: { num: _showMonth + 1 } }} - {{ 'DateTime.nDay' | nzTranslate: { num: _selectedDate } }} + {{ 'DateTime.nYear' | nzTranslate: {num: _selectedYear} }} + {{ 'DateTime.nMonth' | nzTranslate: {num: _showMonth + 1} }} + {{ 'DateTime.nDay' | nzTranslate: {num: _selectedDate} }}
@@ -160,7 +160,7 @@ import { NzLocaleService } from '../locale/index';