#1729 Git browser incorrectly indicates commit time

v1.0.0
closed
SCM
nobody
2015-08-20
2011-03-16
Anonymous
No

Originally created by: mandriver

I live in UTC +3 timezone, and if I have just commited the code, the files in Git browser would be displayed as modified "3 hours ago".

Related

Tickets: #2056

Discussion

  • Anonymous - 2011-03-17

    Originally by: mandriver

    This is maybe a duplicate of http://sourceforge.net/p/allura/tickets/716/.

     
  • Anonymous - 2011-06-28

    Originally by: rosslagerwall

    I am also seeing this problem.

    I am at +0200 and code that I committed 2 hours and 55 minutes ago says:
    "Authored by Ross Lagerwall 55 minutes ago".

    Current Local time: Tue Jun 28 21:44:54 SAST +0200 2011
    Commit: Date: Tue Jun 28 18:48:15 2011 +0200

     
  • Rick Copeland - 2011-06-28

    Can you give examples of the repo/commits that are exhibiting the problem? That would make it easier for us to diagnose and fix.

     
  • Anonymous - 2011-06-28

    Originally by: rosslagerwall

    Sure.

    https://sourceforge.net/p/backuprotator/code/ci/9f50df66490024285da9f3d4a322e0804c3a0254/

    A git clone and git log shows:
    commit 9f50df66490024285da9f3d4a322e0804c3a0254
    Author: Ross Lagerwall rosslagerwall@gmail.com
    Date: Tue Jun 28 18:48:15 2011 +0200

    This would put the commit just over 3 hours ago, not 1 hour ago as the first link says.

    Thanks

     
  • Rick Copeland - 2011-06-28

    Apparently our git library is now returning author/commit timestamps at UTC so we need to remove our timezone correction code.

    • status: in-progress --> code-review
    • assigned_to: Rick Copeland ☕ --> Tim Van Steenburgh
     
  • Rick Copeland - 2011-06-28
    • status: open --> in-progress
    • assigned_to: Rick Copeland ☕
    • component: Other --> SCM
    • size: --> 1
    • milestone: backlog --> jul-01
     
  • Rick Copeland - 2011-06-28

    QA: code review, then merge to dev and set to validation

     
  • Merged to dev.

     
    • status: code-review --> validation
    • assigned_to: Tim Van Steenburgh --> Rick Copeland ☕
     
  • Dave Brondsema

    Dave Brondsema - 2011-07-07
    • status: validation --> closed
     

Log in to post a comment.