Revision: 1734
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1734&view=rev
Author:   cimorrison
Date:     2011-01-05 09:51:08 +0000 (Wed, 05 Jan 2011)

Log Message:
-----------
Added a LAST-MODIFIED property

Modified Paths:
--------------
    mrbs/branches/ics_attachments/web/functions_ical.inc

Modified: mrbs/branches/ics_attachments/web/functions_ical.inc
===================================================================
--- mrbs/branches/ics_attachments/web/functions_ical.inc        2011-01-05 
09:37:09 UTC (rev 1733)
+++ mrbs/branches/ics_attachments/web/functions_ical.inc        2011-01-05 
09:51:08 UTC (rev 1734)
@@ -162,6 +162,10 @@
   $results[] = "BEGIN:VEVENT";
   $results[] = "UID:" . $data['ical_uid'];  // compulsory
   $results[] = "DTSTAMP:" . gmdate(RFC5545_FORMAT . '\Z');  // compulsory
+  if (!empty($data['last_updated']))
+  {
+    $results[] = "LAST-MODIFIED:" . gmdate(RFC5545_FORMAT . '\Z', 
$data['last_updated']);
+  }
   if ($series)
   {
     $results[] = "RRULE:" . create_rrule($data);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to