]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/gui/DisplayUtils.java
Version 10, May 2010
[GpsPrune.git] / tim / prune / gui / DisplayUtils.java
index f34afd724c20f199c28f029ef5b98d34ac877958..df706b74e17c754661ebc164b22a8adf2724b56c 100644 (file)
@@ -22,7 +22,7 @@ public abstract class DisplayUtils
                        + " " + ((inNumSecs / 60) % 60) + I18nManager.getText("display.range.time.mins");
                if (inNumSecs < 432000L) return "" + (inNumSecs / 86400L) + I18nManager.getText("display.range.time.days")
                        + " " + (inNumSecs / 60 / 60) % 24 + I18nManager.getText("display.range.time.hours");
-               if (inNumSecs < 8640000L) return "" + (inNumSecs / 86400L) + I18nManager.getText("display.range.time.days");
+               if (inNumSecs < 86400000L) return "" + (inNumSecs / 86400L) + I18nManager.getText("display.range.time.days");
                return "big";
        }
 }