Closed Kristjan-Kiolein closed 1 year ago
When using datapicker type year and format yearInput: 'yyyy' the output is formatted as dd/MM/yyyy Demo here
year
yearInput: 'yyyy'
dd/MM/yyyy
I saw you installed date-fns-adpter, please check the #141 to set the adapter correctly.
date-fns-adpter
Didn't find the right docs, fixed the demo also. Sorry for wasting your time
When using datapicker type
year
and formatyearInput: 'yyyy'
the output is formatted asdd/MM/yyyy
Demo here