#1775 Timings of commits in a pull request seems wrong
Opened 2 years ago by vivekanand1101. Modified 2 years ago

https://pagure.io/pagure/pull-request/1647#commit_list , surely @farhaan didn't do that much work within an hour :/


Did you check what is in git itself?

Did you check what is in git itself?

I didn't but, rebasing doesn't change the date, no?

I was comparing these git logs with the output of pygit2, it seems there is error in pygit2 library :P

GIT LOG
commit 9db78c6
Author: Pierre-Yves Chibon pingou@pingoured.fr
Date: Tue Jan 17 13:13:21 2017 +0100

Fix keeping the current filters when updating the status of the tag used

Fixes https://pagure.io/pagure/issue/1772

commit 57c0da4
Author: Pierre-Yves Chibon pingou@pingoured.fr
Date: Wed Jan 18 14:16:37 2017 +0100

Move the custom field block to the right and fix indentation in the html

PYGIT2 code (python shell)

commit = repos.revparse_single('9db78c6')
commit.commit_time
1484746215L
arrow.get(commit.commit_time)
<arrow [2017-01-18t13:30:15+00:00]="">
commit=repos.revparse_single('57c0da4
868084f04775cc7e492d14d5c0b0d')
commit.commit_time
1484745397L
arrow.get(commit.commit_time)
<arrow [2017-01-18t13:16:37+00:00]="">

Login to comment on this ticket.

Metadata