Title: jmat's Replies | WordPress.org

---

# jmat

  [  ](https://wordpress.org/support/users/jmat/)

 *   [Profile](https://wordpress.org/support/users/jmat/)
 *   [Topics Started](https://wordpress.org/support/users/jmat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jmat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jmat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jmat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jmat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jmat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post by Email – Wrong Date](https://wordpress.org/support/topic/post-by-email-wrong-date/)
 *  [jmat](https://wordpress.org/support/users/jmat/)
 * (@jmat)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/post-by-email-wrong-date/#post-999836)
 * 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.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post by Email – Wrong Date](https://wordpress.org/support/topic/post-by-email-wrong-date/)
 *  [jmat](https://wordpress.org/support/users/jmat/)
 * (@jmat)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/post-by-email-wrong-date/#post-999835)
 * 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.

Viewing 2 replies - 1 through 2 (of 2 total)