I noticed the same error. Looking at the sitemap file, I discovered that the format of the date has changed:
correct entries show:
<lastmod>2013-06-25T07:37:32+00:00</lastmod>
incorrect entries look like this:
<lastmod>2013-06-20 19:25:06</lastmod>
I’d like to have the “T” instead of a blank. 🙂
What has changed lately on my site rro:text
– updated the plugin
– updated to wp 3.5.2
Thank you in advance.
Ruth
I too saw this error on the latest version of the WordPress SEO plugin in the sitemap index, specifically when listing the category sitemaps.
To resolve this problem temporarily I edited line 260 of the inc/class-sitemaps.php thusly:
I changed it from this:
$this->sitemap .= '<lastmod>' . htmlspecialchars( $date ) . '</lastmod>' . "\n";
to this:
$this->sitemap .= '<lastmod>' . htmlspecialchars( date("c",strtotime($date) )) . '</lastmod>' . "\n";
this makes it that whatever format the date was in, it is now reformatted into ISO 8601 format required by sitemaps.
Thank you very much, Nick. I changed it too and it works. Great!
Its good but it dont work i become now a 404 Status in WMT.