Skip to content

Commit

Permalink
feat(module:calendar): use months short format (#737)
Browse files Browse the repository at this point in the history
close #736
  • Loading branch information
hsuanxyz authored and vthinkxie committed Dec 15, 2017
1 parent 3a894f0 commit 805538c
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 805538c

Please sign in to comment.