To render a custom year, you can use the renderYearContent
prop as shown here https://reactdatepicker.com/#example-custom-year
renderYearContent={(year) => (
<div>
{`${year.toString().slice(-2)}-${(year + 1).toString().slice(-2)}`}
</div>
)}