react-horizontal-datepicker
react-horizontal-datepicker copied to clipboard
locale prop is added to the component
now you can change the language of your datepicker by using this prop
I think there might be a better way to do this
Probably don't need to import all lang's by default a specific language module could be imported and passed as props
also the lang prop should be kept optional, what is the default language picked in this case?
Hey! Thank you very much for the npm! it helped me a lot with my project. There was a problem with changing the language so I decided to customize it by adding the date locale. lang prop is optional, in case there's no lang prop the default is English. Sorry, the solution could have been better but i am kinda noob in React
Oh no it's great thanks for the addition. it'll probably be very helpful to many, I'll find some time to go through the changes maybe refine them and add them to main