kovpas/PMCalendar — pull request #17 by blakewatters (2013-01-14 23:31:50+00:00)
Title: Fixes off by one date errors from March 11, 2013

Fix rounding errors caused by coercing an NSTimeInterval into an NSInteger without rounding. fixes #16

* Rework calculations so that `firstDateInCal` actually corresponds to the first date in the calendar
* Change all calculations of time intervals in days to use `[NSDate daysSinceDate:]`