Skip to content

Commit 98ce3e9

Browse files
committed
Output 6.245 seconds instead of 6.0245 seconds
1 parent b3bee86 commit 98ce3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edu/stanford/nlp/util/logging/Redwood.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ protected static void formatTimeDifference(long diff, StringBuilder b){
576576
b.append(min).append(':');
577577
}
578578
if (min > 0 && sec < 10) { b.append('0'); }
579-
b.append(sec).append('.').append(String.format("%04d", mili));
579+
b.append(sec).append('.').append(String.format("%03d", mili));
580580
if(min > 0) b.append(" minutes");
581581
else b.append(" seconds");
582582
}

0 commit comments

Comments
 (0)