diff options
Diffstat (limited to 'org.eclipse.jgit.archive')
-rw-r--r-- | org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java index 7cce19702c..46d918ed70 100644 --- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java +++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java @@ -109,9 +109,9 @@ public final class ZipFormat extends BaseFormat implements final ZipArchiveEntry entry = new ZipArchiveEntry(path); - if(tree instanceof RevCommit){ - long commitTime = ((RevCommit) tree).getCommitTime(); - entry.setTime(commitTime); + if (tree instanceof RevCommit) { + long t = ((RevCommit) tree).getCommitTime() * 1000L; + entry.setTime(t); } if (mode == FileMode.TREE) { |