diff -r -w -c smallcal/Calendar.php new-smallcal/Calendar.php
*** smallcal/Calendar.php	Sun Jun  8 02:58:07 2003
--- new-smallcal/Calendar.php	Sat Jan  3 00:24:13 2004
***************
*** 26,32 ****
      */
      function Calendar()
      {
!        $dayslist = _("SMTWTFS");
         $this->dayNames = array($dayslist[0], $dayslist[1], $dayslist[2], $dayslist[3], $dayslist[4], $dayslist[5], $dayslist[6]);
      }
      
--- 26,32 ----
      */
      function Calendar()
      {
!        $dayslist = _("MTWTFSS");
         $this->dayNames = array($dayslist[0], $dayslist[1], $dayslist[2], $dayslist[3], $dayslist[4], $dayslist[5], $dayslist[6]);
      }
      
***************
*** 279,285 ****
      	$s .= "</tr>\n";
      	
      	// We need to work out what date to start at so that the first appears in the correct column
!     	$d = $this->startDay + 1 - $first;
      	while ($d > 1)
      	{
      	    $d -= 7;
--- 279,287 ----
      	$s .= "</tr>\n";
      	
      	// We need to work out what date to start at so that the first appears in the correct column
! 		$tmpd = $this->startDay + 1;
! 		if($tmpd == -1) $tmpd = 6;
! 		$d = $tmpd + 1 - $first;
      	while ($d > 1)
      	{
      	    $d -= 7;
