rwbr / flutter_neat_and_clean_calendar

Simple and clean flutter calendar with ability to slide up/down to show weekly/monthly calendar. Forked from [flutter_clean_calender](https://pub.dev/packages/flutter_clean_calendar)
MIT License
104 stars 51 forks source link

onDateSelected is giving wrong date when clicked on outOfMonthDay. #64

Closed Munsif-Ali closed 1 month ago

Munsif-Ali commented 9 months ago

image

in the above image the Selected Month is November. But when clicked on 1 or 2 date of December onDateSelected function is giving 2023-12-01 00:00:00.000 on both and when clicked on 29, 30, or 31 of the October it is giving 2023-10-01 00:00:00.000. To sum up if date out of the the current month is selected it is giving 1st of that month which is not correct behavior.

MetasenseDevelopment commented 9 months ago

Yes this is the big issue indeed the developers needs to fix this

rwbr commented 9 months ago

Yes this is the big issue indeed the developers needs to fix this

I'll have a look into it, as soon as I find the time. As this is an open source project, feel free to contribute with a fix!

Munsif-Ali commented 9 months ago

Yes this is the big issue indeed the developers needs to fix this

I'll have a look into it, as soon as I find the time. As this is an open source project, feel free to contribute with a fix!

I Will definitely give it a try. Can you tell me which branch is for the latest version.

rwbr commented 9 months ago

Today I fixed #61. I think, this fix also affects this issue. Just try the latest 0.3.15+34 again and let me know, if that helped.

rwbr commented 9 months ago

Yes this is the big issue indeed the developers needs to fix this

I'll have a look into it, as soon as I find the time. As this is an open source project, feel free to contribute with a fix!

I Will definitely give it a try. Can you tell me which branch is for the latest version.

You should fork from the main branch.

rwbr commented 1 month ago

After we got no negative feedback here anymore, I'll now close this one.