Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect opened_at in table pull_request_history #71

Open
whystar opened this issue Aug 30, 2018 · 0 comments
Open

Incorrect opened_at in table pull_request_history #71

whystar opened this issue Aug 30, 2018 · 0 comments

Comments

@whystar
Copy link

whystar commented Aug 30, 2018

I found this problem where I compared the opened_at of a pull-request in GHTorrent and the created_at of the same pull-request accessed via the GH official API.

Here is an example:

  1. data in table pull_request_history
id pull_request_id created_at action actor_id
20920677 345020 2012-08-30 17:41:41 opened 654469

the PR is the #1266 in repository cocos2d/cocos2d-x

  1. data fetched by GH official API
    https://api.github.com/repos/cocos2d/cocos2d-x/pulls/1266
    "created_at": "2012-08-30T19:41:41Z"

2012-08-30 17:41:41 in GHTorrent is two hours early than 2012-08-30T19:41:41Z in GH.

At first, I thought this inconsistence is caused by the difference of timezone. However, the created_at of a repository in GHTorrent equals to the value fetched by GH official API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant