Capitalization
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 19 Jan 2009 20:51:58 +0000 (15:51 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 19 Jan 2009 20:51:58 +0000 (15:51 -0500)
kronolith/lib/Block/month.php

index eef1bb9..708b52a 100644 (file)
@@ -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;