summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2011-03-03 16:19:47 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2011-03-03 16:19:47 +0100
commitd353107729b698da6dc85858d911c3577fb4ea6d (patch)
tree900cc21fbbf57736d84c4d9721829e29b96807c3 /org.eclipse.jgit.pgm
parent3de0df93d4288e3d466ac2ab873fa0589d279d0d (diff)
downloadjgit-d353107729b698da6dc85858d911c3577fb4ea6d.tar.gz
jgit-d353107729b698da6dc85858d911c3577fb4ea6d.zip
Improve readability of timestamps shown by debug-show-dir-cache
The old format is hard to read. Change-Id: I27f3a7dbd92b26256993d27d5223b743fef70902 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java
index bceb7f46cb..fb3e3e65bf 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java
@@ -58,7 +58,7 @@ class ShowDirCache extends TextBuiltin {
@Override
protected void run() throws Exception {
final SimpleDateFormat fmt;
- fmt = new SimpleDateFormat("yyyyMMdd,HHmmss.SSS");
+ fmt = new SimpleDateFormat("yyyy-MM-dd,HH:mm:ss.SSS");
final DirCache cache = db.readDirCache();
for (int i = 0; i < cache.getEntryCount(); i++) {