shashidharus/android-calendar-view

Hi, a bug

GoogleCodeExporter opened this issue · 4 comments


 not judge which month is current day, maybe it's next or previous month


Original issue reported on code.google.com by pcode...@gmail.com on 23 Nov 2011 at 9:29

I have made a patch that addresses this. Now when you pick a date, it will 
recognize current month, previous month, and next month.

Patch is based on android-calendar-view V0.4.2

Apply patch: patch -p0 issue6.patch

Original comment by talklittle@gmail.com on 19 Dec 2011 at 8:50

Attachments:

thx for sharing

Original comment by pcode...@gmail.com on 20 Dec 2011 at 1:48

Oops previous patch didn't handle Year boundaries. Also apply this second patch 
to fix year boundary.

And remember in CalendarActivity, you need to change the return value of 
Intent: instead of mCalendarView.getYear(), use cell.getYear()

Original comment by talklittle@gmail.com on 20 Dec 2011 at 2:20

Attachments:

fixed.

Original comment by outlooks...@gmail.com on 12 Jan 2012 at 4:09

  • Changed state: Fixed