Title: Issue: Incorrect Commit Time Display
Last modified: March 2, 2017

---

# Issue: Incorrect Commit Time Display

 *  [Daniel Hendricks](https://wordpress.org/support/users/hendridm/)
 * (@hendridm)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/issue-incorrect-commit-time-display/)
 * First of all, I love this plugin (thank you). I am using version 2.0.2 as of 
   this posting.
 * I was curious what might be causing this. I have a site installed on its own 
   server (Ubuntu 16.04.2; Nginx 1.10.0; 5.6.27 (I had no choice here); PHP 7.0.16).
   I have the git (2.7.4 from Ubuntu) repo installed locally. Everything works fine
   on the git end and with Revisr except one small thing:
 * In WP admin, when I click Revisr > Commits, the “Date” column is always 6 hours
   behind the actual time that it was committed (for example, if I were to commit
   something right now, it would say that I did 6 hours ago instead of “x minutes
   ago” in Revisr > Commits).
 * Any idea why this is or how to fix it? Notes:
 * 1. Correlation: My timezone is U.S. Central Time, which is GMT-0600. Obviously
   not a coincidence. It’s as if the offset is being subtracted twice from GMT in
   the date column.
    2. I checked the system time (date), timezone (cat /etc/timezone)
   and GMT offset (date +%z). They are all as they should be. 3. I checked the time/
   zone/offset in PHP [date(‘h:i:sa O e’)] under the same vhost as WP/Revisr is 
   running, and they are correct. 4. I ran ‘git log’ to view my commits, and the
   date/time/zones are correct there as well, so git appears to be adhering to the
   system time+zone correctly.
 * I just can’t figure it out. Everything appears to be correct (system/git/PHP).
 * Has anyone else run into this? It’s not mission critical, but sort of annoying.
   When I have time, I will upgrade git to a newer version (despite it appearing
   to be working correctly). I’m just using the one from the Xenial apt repo right
   now.
 * Thank you,
    Daniel
    -  This topic was modified 9 years, 3 months ago by [Daniel Hendricks](https://wordpress.org/support/users/hendridm/).
      Reason: Fixed typo; added git version note

The topic ‘Issue: Incorrect Commit Time Display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/revisr_ecf0f1.svg)
 * [Revisr](https://wordpress.org/plugins/revisr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisr/)
 * [Active Topics](https://wordpress.org/support/plugin/revisr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisr/reviews/)

## Tags

 * [git](https://wordpress.org/support/topic-tag/git/)
 * [offset](https://wordpress.org/support/topic-tag/offset/)
 * [time](https://wordpress.org/support/topic-tag/time/)
 * [timezone](https://wordpress.org/support/topic-tag/timezone/)

 * 0 replies
 * 1 participant
 * Last reply from: [Daniel Hendricks](https://wordpress.org/support/users/hendridm/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/issue-incorrect-commit-time-display/)
 * Status: not resolved