mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Move Temporal::convert() to DateTimeFormat::convert()
This commit is contained in:
parent
13fb4a312d
commit
1900da6c42
15 changed files with 77 additions and 77 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue