BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
944 stars 327 forks source link

Can I use this library without moment? #309

Open Saad-Bashar opened 3 years ago

Saad-Bashar commented 3 years ago

Seems like everyone is moving away from moment js. Is it possible to use this without installing moment?

peacechen commented 3 years ago

There have been a few requests to migrate to other date libraries. Moment is being obsoleted, so we need a plan forward. I recommend date-io which provides interfaces to all the major date libraries. This would enable RNCS to be agnostic, allowing people to use their favorite date library.

A PR to migrate to date-io would be very much appreciated.

NinjaAniket commented 3 years ago

yes, you can use the component without moment.

durgaswaroop commented 1 year ago

This seems to be stuck since almost two years now. dayjs is the one I'm using along with this library. dayjs is mostly compatible with moment's API. That would be the easiest to add, I believe.