Permalink
Browse files

[FIXED JENKINS-23791] convert seconds to milliseconds for timestamp

  • Loading branch information...
dmitryskorbovenko authored and MarkEWaite committed Jul 18, 2014
1 parent ae1f9fc commit 1f9f31d91129a7cb168dadda266154ea3f4f31ef
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 1f9f31d

Please sign in to comment.