Use non-GMT date. fixes #3034
git-svn-id: https://develop.svn.wordpress.org/trunk@5326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef92dec9ba
commit
5ca855b43a
@ -49,7 +49,7 @@ class LJ_Import {
|
||||
|
||||
preg_match('|<eventtime>(.*?)</eventtime>|is', $post, $post_date);
|
||||
$post_date = strtotime($post_date[1]);
|
||||
$post_date = gmdate('Y-m-d H:i:s', $post_date);
|
||||
$post_date = date('Y-m-d H:i:s', $post_date);
|
||||
|
||||
preg_match('|<event>(.*?)</event>|is', $post, $post_content);
|
||||
$post_content = str_replace(array ('<![CDATA[', ']]>'), '', trim($post_content[1]));
|
||||
|
Loading…
Reference in New Issue
Block a user