diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-04-13 15:03:34 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-04-13 15:03:34 -0700 |
commit | 01695dc3465c8198123c254816f9a93a35b6c773 (patch) | |
tree | 7927b2083f502b56d9f44f9392036acfcdc4ac90 /lib | |
parent | d4f9f2c69bb9cba7aa2ff67a2b75d106f1bd1607 (diff) |
Fix bad dates in API's JSON search results
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jsonsearchresultslist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php index 0cdcf0c51..f786c20a8 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); } /** |