]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
end_str, not start_str
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 18 Jan 2016 23:01:30 +0000 (00:01 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 18 Jan 2016 23:01:30 +0000 (00:01 +0100)
plugins/Event/actions/newevent.php

index 402acea035436b27a18e154cc2c224920399d1e4..370fe6822bc4240342fa66e07f216d3f9e133ab1 100644 (file)
@@ -139,7 +139,7 @@ class NeweventAction extends FormAction
                               common_date_iso8601($start_str));
         $actobj->extra[] = array('dtend',
                               array('xmlns' => 'urn:ietf:params:xml:ns:xcal'),
-                              common_date_iso8601($start_str));
+                              common_date_iso8601($end_str));
         $actobj->extra[] = array('location', false, $location);
         $actobj->extra[] = array('url', false, $url);