]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/OEmbed.php
Move Temporal::convert() to DateTimeFormat::convert()
[friendica.git] / src / Content / OEmbed.php
index 4ff353fa9459fbf13ae7ba1ce1d08926ee27aea4..b09fd2249535a2914548bf3ef99020b279335aa8 100644 (file)
@@ -11,9 +11,9 @@ use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
+use Friendica\Util\DateTimeFormat;
 use Friendica\Util\Network;
 use Friendica\Util\ParseUrl;
-use Friendica\Util\Temporal;
 use dba;
 use DOMDocument;
 use DOMNode;
@@ -113,7 +113,7 @@ class OEmbed
                                                'url' => normalise_link($embedurl),
                                                'maxwidth' => $a->videowidth,
                                                'content' => $txt,
-                                               'created' => Temporal::convert()
+                                               'created' => DateTimeFormat::utcNow()
                                        ], true);
                                }