]> git.mxchange.org Git - friendica-addons.git/blobdiff - dwpost/dwpost.php
Move Temporal::convert() to DateTimeFormat::convert()
[friendica-addons.git] / dwpost / dwpost.php
index 3730aa2b01a78b92ba8dd3844f7696bdb467371e..fe4a53ef8d044108397a2b8da2d2e1b71aeeccd1 100644 (file)
@@ -187,7 +187,7 @@ function dwpost_send(&$a,&$b) {
                $post = xmlify($post);
                $tags = dwpost_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));