Skip to content

fix(material/datepicker): incorrect year count in aria label #22763

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

Merged
merged 1 commit into from
May 25, 2021
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/material/datepicker/datepicker-intl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export class MatDatepickerIntl {
nextYearLabel: string = 'Next year';

/** A label for the previous multi-year button (used by screen readers). */
prevMultiYearLabel: string = 'Previous 20 years';
prevMultiYearLabel: string = 'Previous 24 years';

/** A label for the next multi-year button (used by screen readers). */
nextMultiYearLabel: string = 'Next 20 years';
nextMultiYearLabel: string = 'Next 24 years';

/** A label for the 'switch to month view' button (used by screen readers). */
switchToMonthViewLabel: string = 'Choose date';
Expand Down