react-native-big-calendar icon indicating copy to clipboard operation
react-native-big-calendar copied to clipboard

Issue with month mode date calculation and onChangeDate

Open juspeeh opened this issue 2 years ago • 1 comments

When mode is month and the days are calculated the last day of the month is always left out. This ends up onChangeDate returning the second last date always. See images:

getDatesInMonth leaves the last day out: Screenshot 2022-09-15 at 10 34 59

onChangeDate returns the second last day: Screenshot 2022-09-15 at 10 35 30

juspeeh avatar Sep 15 '22 07:09 juspeeh

Sorry for my slow response. I'm busy for now and cannot work for this. If you create a pull request, I'm happy to merge it. Thanks!

acro5piano avatar Oct 09 '22 14:10 acro5piano

Hey @acro5piano Seems this bug is not fixed yet. May I create PR for this?

charithAmila avatar Oct 07 '23 22:10 charithAmila

@charithAmila Thanks, please go ahead!

acro5piano avatar Oct 08 '23 01:10 acro5piano

Hey @acro5piano PR is ready for review. https://github.com/acro5piano/react-native-big-calendar/pull/937

charithAmila avatar Oct 08 '23 20:10 charithAmila

Fixed on v4.4.1

acro5piano avatar Oct 09 '23 03:10 acro5piano