From: Mahmood Al-Y. <ma...@us...> - 2002-04-05 16:10:51
|
Update of /cvsroot/pn-modules/PN_PostCalendar/html/includes/blocks In directory usw-pr-cvs1:/tmp/cvs-serv9021/includes/blocks Modified Files: block-PostCalendar.php Log Message: 2.55 fixes Index: block-PostCalendar.php =================================================================== RCS file: /cvsroot/pn-modules/PN_PostCalendar/html/includes/blocks/block-PostCalendar.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** block-PostCalendar.php 24 Feb 2002 16:37:54 -0000 1.3 --- block-PostCalendar.php 5 Apr 2002 16:10:45 -0000 1.4 *************** *** 176,185 **** // monday is the first day of the week $Day_of_First_Week = Date("w",$First_Day_of_Month_Date) -1; ! if ($Day_of_First_Week == 0) { $Day_of_First_Week = 7; } break; case 2: // saturday is the first day of the week $Day_of_First_Week = Date("w",$First_Day_of_Month_Date) +1; ! if ($Day_of_First_Week == 0) { $Day_of_First_Week = 6; } break; } --- 176,185 ---- // monday is the first day of the week $Day_of_First_Week = Date("w",$First_Day_of_Month_Date) -1; ! if ($Day_of_First_Week == -1) { $Day_of_First_Week = 6; } break; case 2: // saturday is the first day of the week $Day_of_First_Week = Date("w",$First_Day_of_Month_Date) +1; ! if ($Day_of_First_Week == 7) { $Day_of_First_Week = 0; } break; } |