I am using SVNKit to retrieve logs from a SVN server. I am using SVNKit version 1.3.2.
Everything is working fine and well except for some bizarre problem that I have been seeing lately. The commit date retrieve is getting converted to the timezone of the system running the program and thus introduces an offset thus changing the time whats seen in the logs (using tortoise svn) and in output of my program.
logEntries = (Collection)repository.log(new String[] {""}, null, startRevision, endRevision, true, true);
for (SVNLogEntry entry : logEntries) {
Date date = entry.getDate();
...
...
}
What I want is the date output should be same as what is seen in the SVN Logs.