aboutsummaryrefslogtreecommitdiff
path: root/admin/calendar/functions.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 23:54:14 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 23:54:14 -0500
commit9d4fa2963b1059fed54aaeae583bf02a30c42239 (patch)
tree5bc96becffcda48318c932ece289ec358dc84691 /admin/calendar/functions.php
parentb63430eba1943d1732634df88884e8d7c4b2b1fb (diff)
downloadbayonetcms-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.php4
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){