diff --git a/b2calendar.php b/b2calendar.php index 1567ceabd4..a252872a0a 100644 --- a/b2calendar.php +++ b/b2calendar.php @@ -38,7 +38,7 @@ $calendarrowend = ''; $calendarheaderdisplay = 1; // set this to 0 if you don't want to display the "Mon Tue Wed..." header $calendarheadercellstart = ''; // please leave $abbr there ! $calendarheadercellend = ''; -$calendarheaderabbrlenght = 3; // lenght of the shortened weekday +$calendarheaderabbrlength = 1; // length of the shortened weekday $calendarcellstart = ''; $calendarcellend = ''; @@ -188,7 +188,7 @@ if ($calendarheaderdisplay) { for ($i = $start_of_week; $i<($start_of_week+7); $i = $i + 1) { echo str_replace('$abbr', $weekday[($i % 7)], $calendarheadercellstart); - echo ucwords(substr($weekday[($i % 7)], 0, $calendarheaderabbrlenght)); + echo ucwords(substr($weekday[($i % 7)], 0, $calendarheaderabbrlength)); echo $calendarheadercellend; }