]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better explanation
authorHannes Mannerheim <h@nnesmannerhe.im>
Fri, 9 Oct 2015 22:20:32 +0000 (00:20 +0200)
committerHannes Mannerheim <h@nnesmannerhe.im>
Fri, 9 Oct 2015 22:20:32 +0000 (00:20 +0200)
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');