Fix bad dates in API's JSON search results
This commit is contained in:
parent
d4f9f2c69b
commit
01695dc346
|
@ -232,7 +232,7 @@ class ResultItem
|
||||||
$this->profile_image_url = ($avatar) ?
|
$this->profile_image_url = ($avatar) ?
|
||||||
$avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE);
|
$avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE);
|
||||||
|
|
||||||
$this->created_at = date('r', $this->notice->created);
|
$this->created_at = common_date_rfc2822($this->notice->created);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user