From 6a5725f6dfeb1be05870febf6e9abdfb627fdbd3 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 19 Jan 2009 15:51:58 -0500 Subject: [PATCH] Capitalization --- kronolith/lib/Block/month.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kronolith/lib/Block/month.php b/kronolith/lib/Block/month.php index eef1bb975..708b52a6c 100644 --- a/kronolith/lib/Block/month.php +++ b/kronolith/lib/Block/month.php @@ -91,18 +91,18 @@ class Horde_Block_Kronolith_month extends Horde_Block { // We may need to adjust the number of days in the view if // we're starting weeks on Sunday. - if ($startday == Horde_Date::Date_SUNDAY) { + if ($startday == Horde_Date::DATE_SUNDAY) { $daysInView -= 7; } $endday = new Horde_Date(array('mday' => Horde_Date::daysInMonth($month, $year), 'month' => $month, 'year' => $year)); $endday = $endday->dayOfWeek(); - if ($endday == Horde_Date::Date_SUNDAY) { + if ($endday == Horde_Date::DATE_SUNDAY) { $daysInView += 7; } } else { - if ($startday == Horde_Date::Date_SUNDAY) { + if ($startday == Horde_Date::DATE_SUNDAY) { $startOfView = -5; } else { $startOfView = 2 - $startday; -- 2.11.0