Skip to content
Snippets Groups Projects
Commit e57dd0c8 authored by Prasath Nadarajah's avatar Prasath Nadarajah
Browse files

post date conversion

parent 899fb338
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ class WP_RSS_Client extends SimplePie implements WP_Client{ ...@@ -147,7 +147,7 @@ class WP_RSS_Client extends SimplePie implements WP_Client{
'post_content' => $item->get_description(), 'post_content' => $item->get_description(),
'post_type' => $this->default_post_type, 'post_type' => $this->default_post_type,
'post_status' => $this->default_post_status, 'post_status' => $this->default_post_status,
'post_date' => $item->get_date() 'post_date' => date( 'Y-m-d H:i:s', strtotime( $item->get_date() ) )
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment