Well, I think I finally found in.
In this line:
$post_date = gmdate(‘Y-m-d H:i:s’, $ddate_U + $time_difference);
instead of + (adding) the difference, the time difference should be subtracted so I changed the plus (+) to a minus (-)
to look like this:
$post_date = gmdate(‘Y-m-d H:i:s’, $ddate_U – $time_difference);
seems to have done the job, hope this helps others.
YES!! Thank you!! I was pulling my hair out trying to find out what was happening. Edited the file as suggested and works great. I suppose that those that are + gmt won’t need to make the change. I’m not a programmer, but I wonder if the problem is here:
$time_difference = absint(get_option(‘gmt_offset’)) * 3600;
I would think that if the $time_difference was -8, then + a (-8) should work fine.
But regardless, this took care of my issue, and I appreciate the help!