jira-importer commented on issue #1134: URL: https://github.com/apache/maven-scm/issues/1134#issuecomment-2964647592
**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** commented This would be interesting in the context of DOXIASITETOOLS-329 as well. I think we should change the API in this case in a backwards compatible way (i.e. introduce a new getter method returning a `java.time.OffsetDateTime` and deprecate the old method returning a String). For example JGit exposes the date as int on https://git.eclipse.org/c/jgit/jgit.git/tree/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevCommit.java#n321 (not sure what it stands for). [Git log](https://git-scm.com/docs/git-log) can be used like this `git log -1 --format=%ct` to retrieve the unix epoch. The timezone can be adjusted in which to emit via https://git-scm.com/docs/git-log#Documentation/git-log.txt---dateltformatgt. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org