aboutsummaryrefslogtreecommitdiffstats
path: root/rss/rss2.0.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:11:55 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:11:55 +0000
commitedd9a9fd1a3451f7868400fcf9d2ebe0cf563c51 (patch)
tree18b9a217dcc678e2ae4600d25b55fc467a8a2c97 /rss/rss2.0.php
parent8ad2eb254717b68f4413da74e75639d48e648fab (diff)
downloadphpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.tar.gz
phpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.tar.bz2
phpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.zip
fix rss link and dates
Diffstat (limited to 'rss/rss2.0.php')
-rw-r--r--rss/rss2.0.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rss/rss2.0.php b/rss/rss2.0.php
index cd63ad0..05ac5ba 100644
--- a/rss/rss2.0.php
+++ b/rss/rss2.0.php
@@ -60,8 +60,8 @@ function rss_item(){
$rss .= '<guid isPermaLink="false">'.$rss_link.'&amp;uid='.$uid.'</guid>'."\n";
/* End guid modification */
$rss .= '<title>'.$rss_title.'</title>'."\n";
- $rss .= '<ev:startdate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:startdate>'."\n";
- $rss .= '<ev:enddate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:enddate>'."\n";
+ $rss .= '<ev:startdate>'.date("Y-m-d\TH:i:s", $val["start_unixtime"]).'</ev:startdate>'."\n";
+ $rss .= '<ev:enddate>'.date("Y-m-d\TH:i:s", $val["end_unixtime"]).'</ev:enddate>'."\n";
$rss .= '<link>'.$rss_link.'</link>'."\n";
$rss .= '<description>'.$rss_description.'</description>'."\n";

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