Sorry to bother – this issue has been fixed.
For others who are facing same problem can try putting this code at the bottom of wp-config file.
/** Set default timezone so all date/time functions report back properly */
date_default_timezone_set(get_option(‘timezone_string’));
Hi Sheeraz, please be aware that the times shown in the sitemaps should be in +0 UTC (=GMT) so unless you are living in the UK, there will always be an offset that is equal to the UTC offset that you configured under your WordPress general settings. This is according to XML and GN sitemap rules.
It is up to Google News to ‘re-calculate’ back to the correct time depending on either your or the news reader local time.
Hi, yes the sitemap timings are 00:00 – no changes in that, it is shown as GMT. I have just reconfigured my wordpress time – which wasn’t changing from General settings even after selecting the -4 UTC (New York).
Sounds like a problem with your theme. Did you try a default theme to see if the time stamps where correct there?
Also, did your date_default_timezone_set(get_option('timezone_string')); change anything in the sitemap timestamps or only on the wordpress pages themselves?
Yes it was a theme problem, no the code just changed time in the wordpress posts/pages nothing to do with sitemaps time. Sitemap time is showing GMT like always.
OK thanks for clearing that up for me. I was worried there was some conflict going on… 😉