]> source.dussan.org Git - jgit.git/commit
Cosmetic adjustment of relative date format, do not display "0 months" 83/4383/7
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 20 Oct 2011 22:23:57 +0000 (00:23 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 26 Oct 2011 21:15:28 +0000 (23:15 +0200)
commit57bdb0487328b5ae46a255caa09360740ee28a17
treeab6dbd1932f87be089dc6f4a6f6e026cefff569b
parent6baf0cb9564d1df512e1f47c2d65cfa927faf95f
Cosmetic adjustment of relative date format, do not display "0 months"

Though it may seem less precise, "0 months" looks bad and the reference
Git implementation also does not display "0 months"

Change-Id: I488e9c97656f9941788ae88d7c5c1562ab6c26f0
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RelativeDateFormatterTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/RelativeDateFormatter.java