Fix bad dates in API's JSON search results

This commit is contained in:
Zach Copley 2009-04-13 15:03:34 -07:00
parent d4f9f2c69b
commit 01695dc346
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class ResultItem
$this->profile_image_url = ($avatar) ?
$avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE);
$this->created_at = date('r', $this->notice->created);
$this->created_at = common_date_rfc2822($this->notice->created);
}
/**