Skip to content

Commit

Permalink
fix(module:datepicker): year and month display in opposite way (#243)
Browse files Browse the repository at this point in the history
close #232
  • Loading branch information
giscafer authored and vthinkxie committed Sep 7, 2017
1 parent 0180e1c commit 4b5ea54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/datepicker/nz-datepicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ import { ConnectionPositionPair } from '../core/overlay';
<a class="ant-calendar-prev-year-btn" title="上一年" (click)="_preYear()"></a>
<a class="ant-calendar-prev-month-btn" title="上个月" (click)="_preMonth()"></a>
<span class="ant-calendar-ym-select">
<a class="ant-calendar-year-select" title="选择月份" (click)="_changeDecadeView($event)">{{_showYear}}年</a>
<a class="ant-calendar-month-select" title="选择月份" (click)="_changeMonthView()">{{_showMonth + 1}}月</a>
<a class="ant-calendar-month-select" title="选择月份" (click)="_changeMonthView()">{{_showMonth + 1}}月</a>
<a class="ant-calendar-year-select" title="选择年份" (click)="_changeDecadeView($event)">{{_showYear}}年</a>
</span>
<a class="ant-calendar-next-month-btn" title="下个月" (click)="_nextMonth()"></a>
<a class="ant-calendar-next-year-btn" title="下一年" (click)="_nextYear()"></a>
Expand Down

0 comments on commit 4b5ea54

Please sign in to comment.