Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-09-25 09:45:34 +0000
committerspingel2010-09-25 09:45:34 +0000
commitdd8b2012827fcf3665b279d03f58b29e51dc6d13 (patch)
tree4291a6f8411efbab006af438b5535240d0d6530e /org.eclipse.mylyn.commons.core
parent0444db091efd1c77c665da3bbd79a212c77e7ebe (diff)
downloadorg.eclipse.mylyn.commons-dd8b2012827fcf3665b279d03f58b29e51dc6d13.tar.gz
org.eclipse.mylyn.commons-dd8b2012827fcf3665b279d03f58b29e51dc6d13.tar.xz
org.eclipse.mylyn.commons-dd8b2012827fcf3665b279d03f58b29e51dc6d13.zip
RESOLVED - bug 326218: [build] show build history in History view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326218
Diffstat (limited to 'org.eclipse.mylyn.commons.core')
-rw-r--r--org.eclipse.mylyn.commons.core/src/org/eclipse/mylyn/commons/core/DateUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.commons.core/src/org/eclipse/mylyn/commons/core/DateUtil.java b/org.eclipse.mylyn.commons.core/src/org/eclipse/mylyn/commons/core/DateUtil.java
index 914eea3a..9de3a890 100644
--- a/org.eclipse.mylyn.commons.core/src/org/eclipse/mylyn/commons/core/DateUtil.java
+++ b/org.eclipse.mylyn.commons.core/src/org/eclipse/mylyn/commons/core/DateUtil.java
@@ -69,21 +69,21 @@ public class DateUtil {
long totalHours = totalMinutes / 60;
StringBuffer sb = new StringBuffer(8);
- sb.append(totalHours);
if (totalHours < 10) {
sb.append("0"); //$NON-NLS-1$
}
+ sb.append(totalHours);
sb.append(":"); //$NON-NLS-1$
- sb.append(remainderMinutes);
if (remainderMinutes < 10) {
sb.append("0"); //$NON-NLS-1$
}
+ sb.append(remainderMinutes);
if (includeSeconds) {
sb.append(":"); //$NON-NLS-1$
- sb.append(remainderSeconds);
if (remainderSeconds < 10) {
sb.append("0"); //$NON-NLS-1$
}
+ sb.append(remainderSeconds);
}
return sb.toString();
}

Back to the top