From a8002d581c97b2944324ae7dae3c915f7d949a85 Mon Sep 17 00:00:00 2001 From: steinm Date: Mon, 4 Feb 2013 10:05:15 +0000 Subject: [PATCH] - fixed display of first day of week --- views/bootstrap/class.Calendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Calendar.php b/views/bootstrap/class.Calendar.php index 82cbe5fee..85a2f480c 100644 --- a/views/bootstrap/class.Calendar.php +++ b/views/bootstrap/class.Calendar.php @@ -55,7 +55,7 @@ class LetoDMS_View_Calendar extends LetoDMS_Bootstrap_Style { $this->dayNames = array(); foreach ( $this->dayNamesLong as $dn ){ - $this->dayNames[] = substr($dn,0,2); + $this->dayNames[] = substr($dn,0,3); } } /* }}} */ @@ -183,7 +183,7 @@ class LetoDMS_View_Calendar extends LetoDMS_Bootstrap_Style { $year = $this->params['year']; $month = $this->params['month']; $day = $this->params['day']; - $firstdayofweek = $this->params['firstdayofweek']; + $this->firstdayofweek = $this->params['firstdayofweek']; $this->adjustDate($day,$month,$year);