Closed Andrewnt219 closed 3 years ago
At the moment, date-fns is only used for formatting date in DatePickerInput. This should be easily replaced with dayjs. See https://react-day-picker.js.org/docs/input
date-fns
dayjs
https://github.com/Andrewnt219/rent-near-me/blob/945769289561acd6b5c98d87b88faeefef9a5ff8/src/libs/react-day-picker/DatePicker.tsx#L50-L51
At the moment,
date-fns
is only used for formatting date in DatePickerInput. This should be easily replaced withdayjs
. See https://react-day-picker.js.org/docs/inputhttps://github.com/Andrewnt219/rent-near-me/blob/945769289561acd6b5c98d87b88faeefef9a5ff8/src/libs/react-day-picker/DatePicker.tsx#L50-L51