From a9f879c2bab0171f8fdc395cdcd4f7f36414c781 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Sat, 10 Oct 2015 00:20:32 +0200 Subject: [PATCH] better explanation --- plugins/Event/EventPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index 1cd574086a..7f2712b148 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -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'); -- 2.39.5