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
552 stars 169 forks source link

[Fix 🐛] update month display logic in Calendar component #278

Closed leonelhenriquez closed 1 month ago

leonelhenriquez commented 2 months ago

Fix list of month buttons, which are not displayed correctly

Steps of the iteration of months

new Date('2022-8-01')  // -> Mon Aug 01 2022 00:00:00 GMT-0600
new Date('2022-9-01')  // -> Thu Sep 01 2022 00:00:00 GMT-0600
new Date('2022-10-01') // -> Fri Sep 30 2022 18:00:00 GMT-0600
new Date('2022-11-01') // -> Mon Oct 31 2022 18:00:00 GMT-0600

276 (Months are not displayed correctly #276)

Safari image

Chrome image

Firefox image

mraballard commented 1 month ago

hi @leonelhenriquez, any chance we can get this fix out?

leonelhenriquez commented 1 month ago

@mraballard I have already made a pull request with my solution, but I haven't received approval yet

namngv commented 4 weeks ago

Hi @onesine, do you have any plan to release this fix?

MurapyonCorp commented 2 days ago

I am also experiencing the same issue with safari. In addition, the week view is not displayed from Sunday to Wednesday. I would appreciate it if you could address this issue as soon as possible. https://github.com/onesine/react-tailwindcss-datepicker/issues/291#issue-2665456386