angular / angular/components

DatePicker breaks upon using arrow for year at year 2008

オープン
#8,295 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/datepicker P2
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Bug, feature request, or proposal:
Bug

#### What is the expected behavior?
To go to year 2008

#### What is the current behavior?
DatePicker breaks and skips 2008 and goes to 2007

#### What are the steps to reproduce?
IN IMPORT
Material Datepicker,
MAT_DATE_LOCALE,

IN PROVIDER
{provide: MAT_DATE_LOCALE, useValue: 'en-GB'},

#### What is the use-case or motivation for changing an existing behavior?
To be able to select years before 2009 without bug. I'm using it in a DOB field

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.6
angular/material: 2.0.0-beta.12
Linux (+ Windows - could not reproduce for windows - don't know how to strike-through)
TS 2.5.3
FF + Chrome

#### Is there anything else we should know?
Before 2008
http://tinypic.com/r/opwx7o/9

After 2008
http://tinypic.com/r/2z6tsh1/9

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、列挙されているブラウザー環境で、MAT_DATE_LOCALE を en-GB に設定し、2008 年前後を年単位で移動した場合の Material Datepicker の問題を再現します。DatePicker の年ナビゲーションのエントリーポイントを追跡し、2008 を選択しても 2007 にスキップされなくなっていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。