]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/EventPlugin.php
Merge branch 'inbound-linkback' into 'master'
[quix0rs-gnu-social.git] / plugins / Event / EventPlugin.php
index 1cd574086ac7bb67b5a75d79398c956104f20eee..7f2712b148ea45debbb13263cea78877f099a20a 100644 (file)
@@ -157,7 +157,7 @@ class EventPlugin extends MicroAppPlugin
             throw new Exception(_m('No end date for event.'));
         }
 
-        // dates are saved as UTC in database
+        // convert RFC3339 dates delivered in Activity Stream to MySQL DATETIME date format
         $start_time = new DateTime($dtstart->item(0)->nodeValue);
         $start_time->setTimezone(new DateTimeZone('UTC'));
         $start_time = $start_time->format('Y-m-d H:i:s');