Title: RSS/XML Import &#8211; date errors
Last modified: August 19, 2016

---

# RSS/XML Import – date errors

 *  [AndyMc](https://wordpress.org/support/users/andymc/)
 * (@andymc)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/rssxml-import-date-errors/)
 * I am trying to load a batch of old jounal and calendar entries in to family blog
   on my home machine (WAMP + WordPress).
 * Can anyone shed some light as to the correct format to enable the date to be 
   set correctly. My XML seems to specify the dat e correctly but at various points
   in the year it seems to lose a day and an entry destined for, say, 1st June ends
   up blogged on 31st May.
 * This is the typical format of an “item”…
 * > `<item>
   >  <title></title> <link></link> <pubDate> Fri, 15 Jan 1999</pubDate>
   > <dc:creator>Admin</dc:creator> <category><![CDATA[Work]]></category> <description
   > ></description> <content:encoded><![CDATA[Cal: 01:25:00-11:50:00 BA282 LAX-
   > LHR]]></content:encoded> <wp:post_id></wp:post_id> <wp:post_date>1999-01-15
   > 01:25:00</wp:post_date> <wp:post_date_gmt>1999-01-15 01:25:00</wp:post_date_gmt
   > > </item>`
 * Any help or suggestions would be gratefully received.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [AndyMc](https://wordpress.org/support/users/andymc/)
 * (@andymc)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/rssxml-import-date-errors/#post-704745)
 * Could this be a “leap year” error?
 * I have noticed that it only seems to affect dates March-December.
 *  Thread Starter [AndyMc](https://wordpress.org/support/users/andymc/)
 * (@andymc)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/rssxml-import-date-errors/#post-704883)
 * Well I have not solved the problem, but I have found a circumvention.
 * Firstly, there is evidently a bug in the way WP handles the post_date information
   as it time slips the date, and seems to set the time to 23:00.
 * However, by converting the RSS input files to MySQL Load Data format all 4000
   + entries were added to the system without incident or error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘RSS/XML Import – date errors’ is closed to new replies.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [AndyMc](https://wordpress.org/support/users/andymc/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/rssxml-import-date-errors/#post-704883)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
