]> git.mxchange.org Git - friendica-addons.git/blobdiff - fromgplus/fromgplus.php
Add Temporal::utc() shorthand to Temporal::convert()
[friendica-addons.git] / fromgplus / fromgplus.php
index fa6c0e39a1acc4f199b230427f1136ef5c8f9a68..a65be28678d294dfdb9a184f73c71dfb2f4f556a 100644 (file)
@@ -520,12 +520,12 @@ function fromgplus_fetch($a, $uid) {
                                                if (function_exists("share_header"))
                                                        $post .= share_header($item->object->actor->displayName, $item->object->actor->url,
                                                                                $item->object->actor->image->url, "",
-                                                                               Temporal::convert($item->object->published),$item->object->url);
+                                                                               Temporal::utc($item->object->published),$item->object->url);
                                                else
                                                        $post .= "[share author='".str_replace("'", "'",$item->object->actor->displayName).
                                                                        "' profile='".$item->object->actor->url.
                                                                        "' avatar='".$item->object->actor->image->url.
-                                                                       "' posted='".Temporal::convert($item->object->published).
+                                                                       "' posted='".Temporal::utc($item->object->published).
                                                                        "' link='".$item->object->url."']";
 
                                                $post .= fromgplus_html2bbcode($item->object->content);