Tibolte / AgendaCalendarView

[DEPRECATED] An Android project providing easy navigation between a calendar and an agenda. This library replicates the basic features from the Sunrise Calendar (now Outlook) app, coupled with some small design touch from the Google Calendar app.
1.23k stars 336 forks source link

Not loading events in the new year. #12

Closed LeoJHarris closed 3 weeks ago

LeoJHarris commented 8 years ago

Hi, events in the new year are not loading, the last events to load are on the 31st dec, see screenshots for detail including the calendar (just some random test events) and the data in my database (format is american mm//dd/yyyy) that its loading fddfsfss device-2015-12-05-001513

. Code for min and max is same as the simple example from android arsenal page

        Calendar minDate;
        Calendar maxDate;
        // minimum and maximum date of our calendar
        // 2 month behind, one year ahead, example: March 2015 <-> May 2015 <-> May 2016
        minDate = Calendar.getInstance();
        maxDate = Calendar.getInstance();

        minDate.add(Calendar.MONTH, -1);
        minDate.set(Calendar.DAY_OF_MONTH, 1);
        maxDate.add(Calendar.YEAR, 1)

Should be loading two events on the 1st of jan 2016

I do really like this calendar view, good job and keep it up :)

Tibolte commented 8 years ago

Thanks for the feedback, I'll find some time tomorrow and try your example. I don't recall testing events for a new year when doing this library, stupid me.

LeoJHarris commented 8 years ago

Hi, just wondering if you've had been able to get this issue solved yet? Thanks!

Tibolte commented 8 years ago

Not yet, I haven't got time actually!