The .rdtSwitch header reflects the year range of the .rdtYear table cells below
Actual Results
The .rdtSwitch header reflects the year range of the decade, but the year range is [decade-1, decade+1].
e.g. 2010-2019 header with year options 2009-2020
Other Information
One solution could be changing YearsView.js ln 14
year + '-' + ( year + 9 ) to year-1 + '-' + ( year + 10 )
I'm Submitting a
Steps to Reproduce
Open the datetime component to the
years
view^ From the codepen example
Expected Results
The
.rdtSwitch
header reflects the year range of the.rdtYear
table cells belowActual Results
The
.rdtSwitch
header reflects the year range of the decade, but the year range is [decade-1, decade+1]. e.g. 2010-2019 header with year options 2009-2020Other Information
One solution could be changing YearsView.js ln 14
year + '-' + ( year + 9 )
toyear-1 + '-' + ( year + 10 )