diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2011-03-03 16:19:47 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2011-03-03 16:19:47 +0100 |
commit | d353107729b698da6dc85858d911c3577fb4ea6d (patch) | |
tree | 900cc21fbbf57736d84c4d9721829e29b96807c3 /org.eclipse.jgit.pgm/src | |
parent | 3de0df93d4288e3d466ac2ab873fa0589d279d0d (diff) | |
download | jgit-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/src')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java | 2 |
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++) { |