Skip to content

Commit

Permalink
feat(module:calendar): use months short format
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz committed Dec 12, 2017
1 parent 504fdc8 commit 1cbb3b2
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 1cbb3b2

Please sign in to comment.