Fix bad dates in API's JSON search results

This commit is contained in:
Zach Copley 2009-04-13 15:03:34 -07:00 committed by Evan Prodromou
parent 1bae34e24f
commit cd9a247980

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);
}
/**