src/com/gitblit/utils/TimeUtils.java
@@ -203,10 +203,16 @@ } return mins + " min" + (mins > 1 ? "s" : "") + " ago"; } else { if (css) { return "age2"; } int days = daysAgo(date); if (css) { if (days <= 7) { return "age2"; } if (days <= 30) { return "age3"; } else { return "age4"; } } if (days < 365) { if (days <= 30) { return days + " days ago"; @@ -268,8 +274,6 @@ } else if (frequency.indexOf("hour") > -1) { // convert to minutes mins *= 60; } else if (frequency.indexOf("min") > -1) { // default mins } return mins; }