aboutsummaryrefslogtreecommitdiff
path: root/admin/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'admin/calendar')
-rw-r--r--admin/calendar/functions.php4
-rw-r--r--admin/calendar/index.php2
2 files changed, 3 insertions, 3 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){
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 <http://www.gnu.org/licenses/>.
*/
?>
-
+ <link rel="stylesheet" type="text/css" href="calendar/style.css" media="screen"/>
<div style="text-align:left;"><h2>- Manage Calendar & Events</h2></div>
<?php