Skip to content
Permalink
Browse files

Merge pull request #242 from AddictVim/jenkins_23791

[FIXED JENKINS-23791] convert seconds to milliseconds for timestamp
  • Loading branch information...
MarkEWaite committed Aug 2, 2014
2 parents 5721ddb + 1c37dd4 commit 617d600a9571931d77ee2352ffe1f37bb77ba603
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/git/GitChangeSet.java
@@ -178,7 +178,7 @@ private String isoDateFormat(String s) {
// legacy mode
int i = s.indexOf(' ');
long time = Long.parseLong(s.substring(0,i));
return FastDateFormat.getInstance(ISO_8601).format(new Date(time)) + s.substring(i);
return FastDateFormat.getInstance(ISO_8601).format(new Date(time * 1000)) + s.substring(i);
}

private String parseHash(String hash) {

0 comments on commit 617d600

Please sign in to comment.
You can’t perform that action at this time.