]> git.mxchange.org Git - friendica-addons.git/blobdiff - ijpost/ijpost.php
Move Temporal::convert() to DateTimeFormat::convert()
[friendica-addons.git] / ijpost / ijpost.php
index 3c4e917dda0dfcb5c15a153a5bcab846c691f428..ffafa5ee919e5628ca44d47c9b0a8f6d2c4f2a3a 100644 (file)
@@ -186,7 +186,7 @@ function ijpost_send(&$a,&$b) {
                $post = xmlify($post);
                $tags = ijpost_get_tags($b['tag']);
 
-               $date = Temporal::convert($b['created'], $tz);
+               $date = DateTimeFormat::convert($b['created'], $tz);
                $year = intval(substr($date,0,4));
                $mon  = intval(substr($date,5,2));
                $day  = intval(substr($date,8,2));