- fixed display of first day of week

This commit is contained in:
steinm 2013-02-04 10:05:15 +00:00
parent bbfd568e53
commit a8002d581c

View File

@ -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);