Fix post date
This commit is contained in:
parent
f418e823c5
commit
880073de69
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Post {
|
|||
$array = array(
|
||||
'id' => $this->id,
|
||||
'type' => $this->object_type,
|
||||
'published' => \date( 'Y-m-d\TH:i:s\Z', \strtotime( $post->post_date ) ),
|
||||
'published' => \date( 'Y-m-d\TH:i:s\Z', \strtotime( $post->post_date_gmt ) ),
|
||||
'attributedTo' => \get_author_posts_url( $post->post_author ),
|
||||
'summary' => $this->summary,
|
||||
'inReplyTo' => null,
|
||||
|
|
Loading…
Reference in a new issue