WordPress.org

Make WordPress Core

Changeset 5326


Ignore:
Timestamp:
04/27/07 00:56:12 (7 years ago)
Author:
rob1n
Message:

Use non-GMT date. fixes #3034

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/livejournal.php

    r5087 r5326  
    5050            preg_match('|<eventtime>(.*?)</eventtime>|is', $post, $post_date); 
    5151            $post_date = strtotime($post_date[1]); 
    52             $post_date = gmdate('Y-m-d H:i:s', $post_date); 
     52            $post_date = date('Y-m-d H:i:s', $post_date); 
    5353 
    5454            preg_match('|<event>(.*?)</event>|is', $post, $post_content); 
Note: See TracChangeset for help on using the changeset viewer.