mirror of
https://github.com/friendica/friendica
synced 2025-04-23 07:50:12 +00:00
use atom_time on atom entries
This commit is contained in:
parent
f3292e68a2
commit
b86ae9de7f
2 changed files with 4 additions and 2 deletions
|
@ -485,6 +485,8 @@
|
|||
foreach($r as $item) {
|
||||
$status = array(
|
||||
'created_at'=> api_date($item['created']),
|
||||
'published' => datetime_convert('UTC','UTC',$item['created'],ATOM_TIME),
|
||||
'updated' => datetime_convert('UTC','UTC',$item['edited'],ATOM_TIME),
|
||||
'id' => $item['id'],
|
||||
'text' => strip_tags(bbcode($item['body'])),
|
||||
'html' => bbcode($item['body']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue