Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.9k stars 2.23k forks source link

Leave the date management library selection on the user's side #2402

Open fresk-nc opened 3 years ago

fresk-nc commented 3 years ago

Is your feature request related to a problem? Please describe. I have several projects that use different libraries to manage dates, but react-datepicker forces me to use date-fns.

Describe the solution you'd like What about a solution like material-ui-pickers - https://material-ui-pickers.dev/getting-started/installation#peer-library They are providing interfaces for moment, date-fns, luxon and dayjs.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

raynor85 commented 3 years ago

Shut up bot, this issue is a must have and cannot be ignored by you or anyone else!

L-U-C-K-Y commented 2 years ago

Strongly agree that this would be a huge win!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

rhengeveld commented 2 years ago

From what I could find, moment was tossed out in favour of date-fns with #382 and #1527 halfway 2020.

Since this issue has been open since end 2020, this means there is no interest whatsoever in making the change to date-io?

gracefullight commented 1 year ago

I hope we can choose another the date library to manage time.

bradlocking commented 7 months ago

Agreed that it should be down to the project to decide which date management system any date picker should operate with. Could be a bottleneck for projects that are already using a date tool other than date-fns and are hesitant to include date-fns in their bundle too.

mohsensaremi commented 1 month ago

Strongly agree that this would be a huge win!