Title: Date error
Last modified: June 6, 2022

---

# Date error

 *  [taimurasad](https://wordpress.org/support/users/taimurasad/)
 * (@taimurasad)
 * [4 years ago](https://wordpress.org/support/topic/date-error-9/)
 * Hello
 * I am getting following error when creating Google News sitemap using your plugin.
 * An invalid date was found. Please fix the date or formatting before resubmitting.
 * You can see it in screenshot below
 * > [View post on imgur.com](https://imgur.com/a/NvLYonq)
 * Upon looking into the issue, turns out your plugin is generating timezone part
   in wrong format
 * Example of what is generated by plugin
 * <news:publication_date>2022-06-05T19:21:07+0000</news:publication_date>
 * What it should look like to comply with Google
 * <news:publication_date>2022-06-05T19:21:07+00:00</news:publication_date>
 * The difference is in the last part in the date
    From +0000 To +00:00
 * “:” is missing. Can you please fix this?

The topic ‘Date error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/www-xml-sitemap-generator-org_525f9f.
   svg)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/www-xml-sitemap-generator-org/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/www-xml-sitemap-generator-org/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/)
 * [Active Topics](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/www-xml-sitemap-generator-org/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [taimurasad](https://wordpress.org/support/users/taimurasad/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/date-error-9/)
 * Status: not resolved