onesine / react-tailwindcss-datepicker

Modern date range picker component for React using Tailwind 3 and dayjs. Alternative to Litepie Datepicker.
https://react-tailwindcss-datepicker.vercel.app/
MIT License
537 stars 159 forks source link

Wrong dates selected for users in different timezone #173

Open Subham-Mishra opened 1 year ago

Subham-Mishra commented 1 year ago

When I am using the date picker in my timezone, it works correctly. But if somebody uses my app from a different timezone, wrong dates ranges are selected for them. Also there are 3 highlighted dates. Not sure what they mean. I am not sure if this is a bug or I need to do something to make it right.

https://github.com/onesine/react-tailwindcss-datepicker/assets/35756816/9be7a279-b19a-4bcd-acce-82406435b779