Skip to content

Commit

Permalink
feat(module:calendar): use months short format (NG-ZORRO#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz authored and schsiung committed Dec 18, 2017
1 parent 1183ee4 commit e5334dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/nz-calendar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export class NzCalendarComponent implements OnInit {
}
this._listOfYearName = this._generateYears(this._showYear);
this._listOfWeekName = moment.weekdaysMin();
this._listOfMonthName = moment.months();
this._listOfMonthName = moment.monthsShort();
const date = moment(this.nzValue).year(this._showYear).month(this._showMonth);
this._weeksCalendar = this._buildMonth(date);
this._quartersCalendar = this._buildYears(date);
Expand Down

0 comments on commit e5334dc

Please sign in to comment.