Sitemap request date does not reflect my date/time setting
« on: January 08, 2012, 02:40:47 AM »
My php.ini setting is: date.timezone = "Canada/Atlantic"
I generated a sitemap at 10:21pm Atlantic time on Jan 7th.
The "Last updated:" in the generated sitemap.html shows Jan 8th.
The sitemap details in my View Sitemap tab (left sidebar) shows Request date: 8 January 2012, 02:21.
What needs to be configured or changed to have the date/time reflect my Atlantic time?
Re: Sitemap request date does not reflect my date/time setting
« Reply #1 on: January 08, 2012, 03:03:21 PM »
Hello,

you can remove this code from index.php file:
Quote
if(function_exists('date_default_timezone_set'))date_default_timezone_set('UTC');
Re: Sitemap request date does not reflect my date/time setting
« Reply #2 on: January 08, 2012, 04:34:14 PM »
Thank you. That worked fine.