angular / angular/components

DatePicker breaks upon using arrow for year at year 2008

Ouverte
#8,295 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area: material/datepicker P2
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le problème de Material Datepicker avec MAT_DATE_LOCALE défini sur en-GB et la navigation par année autour de 2008 dans les environnements de navigateur indiqués. Suivez le point d’entrée de la navigation par année de DatePicker et vérifiez que la sélection de 2008 ne passe plus à 2007.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.