diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-04-13 15:03:34 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-14 16:02:26 -0400 |
commit | cd9a24798001cfa5e6ecfbfbccc5c0ce07726846 (patch) | |
tree | 4bf29f04d7b44434d61d749916dce909c21bad62 /lib/jsonsearchresultslist.php | |
parent | 1bae34e24fe87ed1abcd5c27e183e8a826fbf775 (diff) |
Fix bad dates in API's JSON search results
Diffstat (limited to 'lib/jsonsearchresultslist.php')
-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); } /** |