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:
rob1n 2007-04-27 00:56:12 +00:00
parent ef92dec9ba
commit 5ca855b43a
1 changed files with 1 additions and 1 deletions

View File

@ -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]));