aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-10-08 21:20:17 +0000
committerChad Little <clittle@users.sourceforge.net>2004-10-08 21:20:17 +0000
commited66aa0f099f5f50d327048912ce6a116f473ba1 (patch)
tree56aabfdf635bb676ad0b45774df12e2e4997e7b4 /functions
parent47e7968e1400cb68a070cb118a898fa08c94998b (diff)
downloadphpicalendar-ed66aa0f099f5f50d327048912ce6a116f473ba1.tar.gz
phpicalendar-ed66aa0f099f5f50d327048912ce6a116f473ba1.tar.bz2
phpicalendar-ed66aa0f099f5f50d327048912ce6a116f473ba1.zip
Fixed windows date error, cleaned up webcal display in monthview.
Diffstat (limited to 'functions')
-rw-r--r--functions/template.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/functions/template.php b/functions/template.php
index 9bd9dc0..cb0d805 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -597,12 +597,10 @@ class Page {
$event_text = stripslashes(urldecode($val["event_text"]));
$event_text = strip_tags($event_text, '<b><i><u>');
if ($event_text != "") {
- $event_start = $val["event_start"];
- $event_end = $val["event_end"];
$event_calna = $val["calname"];
$event_url = $val["url"];
- $event_start = date ($timeFormat, @strtotime ($event_start));
- $event_end = date ($timeFormat, @strtotime ($event_end));
+ $event_start = date ($timeFormat, $val["start_unixtime"]);
+ $event_end = date ($timeFormat, $val["end_unixtime"]);
if (!isset($val["event_start"])) {
$event_start = $lang['l_all_day'];
$event_end = '';

© 2014-2024 Faster IT GmbH | imprint | privacy policy