Page 1 of 1

Posted: Wed 20. Apr 2005, 12:22
by jockela
I added

Code: Select all

		//Startdag MÃ¥ndag
				$startday = $startday-1;
if ($startday == '-1'){
					$startday = '6';
				}
		//--------
after

Code: Select all

$startday = date("w", mktime(0,0,0,$month,1,$year));
and changed

Code: Select all

$days = array("sun","mon", "tue", "wed", "thu", "fri", "sat");   
to

Code: Select all

$days = array("mon", "tue", "wed", "thu", "fri", "sat","sun");   
in calendar.classes.php