prakits2498 / android-calendar-view

Automatically exported from code.google.com/p/android-calendar-view
0 stars 0 forks source link

Hi, a bug #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

 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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
thx for sharing

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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
fixed.

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