Updates for the Calendar Pull Request
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
index de77e3d..711d23b 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -302,7 +302,7 @@
 					if ($day <= 0)
 					{
 						// Day of previous month
-						$prev_month = $this->adjust_date(((int) $month) - 1, $year);
+						$prev_month = $this->adjust_date($month - 1, $year);
 						$prev_month_days = $this->get_total_days($prev_month['month'], $prev_month['year']);
 						$out .= str_replace('{day}', $prev_month_days + $day, $this->temp['cal_cell_other']);
 					}