From 9d4fa2963b1059fed54aaeae583bf02a30c42239 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Mon, 4 Jan 2010 04:54:14 +0000 Subject: Fixed SVN maybe. git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@448 c5b2fb0a-d05d-0410-98c8-828840a80ff6 --- admin/calendar/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/calendar/functions.php') diff --git a/admin/calendar/functions.php b/admin/calendar/functions.php index cffaab1..76922cc 100644 --- a/admin/calendar/functions.php +++ b/admin/calendar/functions.php @@ -380,8 +380,8 @@ $events = GetEventsOnInterval("{$year}-{$monthNum}-01","{$year}-{$monthNum}-{$da echo ''; //weekdays } - $sqlDate = $year.'-'.$monthNum.'-'.$day_num; //old way NOT unix - + $sqlDate = date("Y-m-d", mktime(0, 0, 0, $monthNum, $day_num, $year)); + //checks to see if the current day has events $isEvent=false; foreach($events as $event){ -- cgit