Jay wrote: ↑Thu Aug 15, 2019 9:18 pmI still don't understand what is your purpose of adding this "+05:30" string at the end of date, as it makes date value in <lastmod> tag invalid.
You were right. Google crawled my site and gave me these errors for the following lastmod format;
Code: Select all
<lastmod>2019-08-10 10:22:26 +05:30</lastmod>
Now I have removed the timezone and kept the date with time, now it's like this;
Code: Select all
<lastmod>2019-08-10 10:22:26</lastmod>
According to sitemaps.org official
documentation, it still says that lastmod should be in
W3C format. W3C formats can be expanded as far as the timezone. It's confusing to look at these official documentations, maybe they forgot to update it? It lacks the information required for someone who's looking to include a timezone.
However, this confirms that Google search engine neglects timezone when it comes to sitemap > lastmod tags.