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

Unable to access commit date through api. #100

Closed
shalecraig opened this issue Jun 11, 2014 · 2 comments
Closed

Unable to access commit date through api. #100

shalecraig opened this issue Jun 11, 2014 · 2 comments

Comments

@shalecraig
Copy link

API Documentation is here

I expected a method of the form of [1], but it looks like getCommitter and getAuthor return a User. Similarly, I expected [2] when looking for the user.

If there's a way to do this that I'm not aware of, please let me know.

[1] myGHCommit.getCommitter().getDate() and myGHCommit.getAuthor().getDate()
[2] myGHCommit.getCommitter().getUser() and myGHCommit.getAuthor().getUser()

@suryagaddipati
Copy link
Collaborator

hey can you try this an see if it works ?

getCommit(str).getCommitShortInfo().getAuthor().getDate()

@shalecraig
Copy link
Author

That works, thanks.

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

2 participants