use atom_time on atom entries
This commit is contained in:
		| @@ -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']), | ||||
|   | ||||
| @@ -15,8 +15,8 @@ | ||||
| 	 <content type="html">$status.html</content> | ||||
| 	 <link rel="alternate" type="text/html" href="$status.url"/> | ||||
| 	 <activity:verb>$status.verb</activity:verb> | ||||
| 	 <published>$status.created_at</published> | ||||
| 	 <updated>$status.created_at</updated> | ||||
| 	 <published>$status.published</published> | ||||
| 	 <updated>$status.updated</updated> | ||||
|  | ||||
| 	 <link rel="ostatus:conversation" href="$status.url"/> | ||||
| 	 <!-- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user