Display the publish time in the local timezone
This commit is contained in:
parent
93b21116e0
commit
25f0f0c439
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ use Friendica\DI;
|
|||
use Friendica\Model\Post;
|
||||
use Friendica\Module\BaseProfile;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
class Schedule extends BaseProfile
|
||||
{
|
||||
|
@ -68,7 +69,7 @@ class Schedule extends BaseProfile
|
|||
}
|
||||
$schedule[] = [
|
||||
'id' => $row['id'],
|
||||
'scheduled_at' => $row['delayed'],
|
||||
'scheduled_at' => DateTimeFormat::local($row['delayed']),
|
||||
'content' => BBCode::toPlaintext($parameter['item']['body'], false)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue