diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 23:54:14 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 23:54:14 -0500 |
commit | 9d4fa2963b1059fed54aaeae583bf02a30c42239 (patch) | |
tree | 5bc96becffcda48318c932ece289ec358dc84691 /admin/calendar/functions.php | |
parent | b63430eba1943d1732634df88884e8d7c4b2b1fb (diff) | |
download | bayonetcms-9d4fa2963b1059fed54aaeae583bf02a30c42239.tar.gz |
Fixed SVN maybe.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@448 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/calendar/functions.php')
-rw-r--r-- | admin/calendar/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 '<td class="cal_weekday">'; //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){ |