Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(module:datepicker): year and month display in opposite way #243

Merged
merged 1 commit into from
Sep 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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