• Resolved alanthonyc

    (@alanthonyc)


    I turned on the post by email feature and was able to get it working. However, any posts I send in by email are stamped with the wrong date and time.

    The posts are being stamped 16 hours ahead of where I am. I’m at UTC-8. My mail server is UTC-7.

    thanks any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Also having the same problem when posting via email. If the timezone is changed to a positive offset of UTC then the post time is correct and the posts order is correct for all posts whether made through email or the control panel. But if the timezone is change to a negative offset of UTC, then post made through email are automatically converted to the corresponding positive offset; while post made through the control panel remain at the correct negative offset, thus improperly ordering all posts.

    Just decided to take a look at wp-mail.php
    line #130

    $post_date = gmdate('Y-m-d H:i:s', $ddate_U + $time_difference);

    change the + sign to a – sign and the time stamps seem to come out correct.

    Caveat though. I’m not a programmer and don’t know PHP. Don’t know if this will mess up anything else. Someone should verify. As far as I can tell, my install is working OK and the time stamps are correct.

    Thread Starter alanthonyc

    (@alanthonyc)

    Hey, thanks for the tip. I just did the same thing and now get the correct time stamp.

    cheers!

    Thanks for this…I was having the same issue and the change seems to have cleared it up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post by Email – Wrong Date’ is closed to new replies.