summaryrefslogtreecommitdiff
path: root/lib/jsonsearchresultslist.php
diff options
context:
space:
mode:
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);
}
/**