From: Zach Copley Date: Mon, 13 Apr 2009 22:03:34 +0000 (-0700) Subject: Fix bad dates in API's JSON search results X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=01695dc3465c8198123c254816f9a93a35b6c773;p=quix0rs-gnu-social.git Fix bad dates in API's JSON search results --- diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php index 0cdcf0c516..f786c20a80 100644 --- a/lib/jsonsearchresultslist.php +++ b/lib/jsonsearchresultslist.php @@ -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); } /**