From: Michael J. Rubinsky Date: Mon, 19 Jan 2009 20:51:58 +0000 (-0500) Subject: Capitalization X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6a5725f6dfeb1be05870febf6e9abdfb627fdbd3;p=horde.git Capitalization --- 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;