summaryrefslogtreecommitdiff
path: root/lib/jsonsearchresultslist.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-04-13 15:03:34 -0700
committerZach Copley <zach@controlyourself.ca>2009-04-13 15:03:34 -0700
commit01695dc3465c8198123c254816f9a93a35b6c773 (patch)
tree7927b2083f502b56d9f44f9392036acfcdc4ac90 /lib/jsonsearchresultslist.php
parentd4f9f2c69bb9cba7aa2ff67a2b75d106f1bd1607 (diff)
Fix bad dates in API's JSON search results
Diffstat (limited to 'lib/jsonsearchresultslist.php')
-rw-r--r--lib/jsonsearchresultslist.php2
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);
}
/**