angular / angular/components

DatePicker breaks upon using arrow for year at year 2008

Aperta
#8,295 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area: material/datepicker P2
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

#### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema di Material Datepicker con MAT_DATE_LOCALE impostato su en-GB e la navigazione per anno intorno al 2008 negli ambienti browser elencati. Segui il punto di ingresso della navigazione per anno di DatePicker e verifica che la selezione del 2008 non passi più al 2007.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.