Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datepicker compatible with dayjs

I'm trying to move from momentjs to dayjs, however my React project is using rc-calendar to display calendar ranges and datepickers. Rc-calendar uses momentjs date formats and does not work with dayjs.

I'm having trouble finding a daterange library which would be compatible with dayjs for internalization (and not use moment or date-fns under the hood) or be library agnostic.

Would appreciate if anyone has any datepicker library suggestions for this case!

like image 713
Robert Avatar asked Nov 03 '25 07:11

Robert


1 Answers

I saw that Ant Design version 5 uses dayjd for the data picker.

https://ant.design/components/date-picker

like image 108
AlTheLazyMonkey Avatar answered Nov 04 '25 21:11

AlTheLazyMonkey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!