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 ++-- admin/calendar/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'admin/calendar') 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){ diff --git a/admin/calendar/index.php b/admin/calendar/index.php index 1197990..2b631d8 100644 --- a/admin/calendar/index.php +++ b/admin/calendar/index.php @@ -17,7 +17,7 @@ * along with this program. If not, see . */ ?> - +

- Manage Calendar & Events