Plugin using WordPress' UTC time instead of offset
-
Hi there. I looked through all of the threads for this particular issue but I don’t see it. The other date/time issues are different from mine. For some reason, the plugin is displaying dates/times based off of the default WordPress UTC timezone setting instead of the offset selected in Settings/General, which is set to Pacific Time (Los Angeles).
Regardless of the feed, the date/time showing from the plugin is 7 hours ahead of the publish date. Therefore, any stories published at 6pm Pacific on June 6th, for example, will be displayed by the plugin as being published at 1am on June 7th.
I have read multiple accounts of people modifying the timezone setting in the wp-settings.php core file to correct for these types of issues, however, the consensus is that making any changes to that file is a bad idea. Any idea why this might be occurring? FYI, the Hostgator server I’m on is on Central time (only a 2 hour difference) and my php.ini file is set to Pacific Time (Los Angeles), so I’m ruling out any server issues.
I set up a test page using a basic wordpress installation running only this plugin.
Test page: https://deepinsidethekings.com/1test/
Feed: https://mayorsmanor.com/feed/And remember that this happens regardless of which feed I test.
Thanks for any input as I’m at a complete loss on how to solve this problem.
- The topic ‘Plugin using WordPress' UTC time instead of offset’ is closed to new replies.