Move Temporal::convert() to DateTimeFormat::convert()

This commit is contained in:
Hypolite Petovan 2018-01-26 21:39:02 -05:00
parent 13fb4a312d
commit 1900da6c42
15 changed files with 77 additions and 77 deletions

View 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));