From f3b4eaf4e30027e31dd0014c033849476e62316a Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Mon, 12 Apr 2010 01:43:00 +0400 Subject: [PATCH] some logging... --- .../intellij/openapi/wm/impl/status/InfoAndProgressPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.java b/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.java index 41671bc698f5..bba01181fce0 100644 --- a/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.java +++ b/platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.java @@ -392,7 +392,7 @@ public class InfoAndProgressPanel extends JPanel implements StatusBarPatch { long time = System.currentTimeMillis() - ApplicationManagerEx.getApplicationEx().getStartTime(); long percentage = wastedTime * 100 / time; - String period = new SimpleDateFormat("mm 'min' HH 'hours'").format(new Date(2000, 0, 1, 0, 0, 0).getTime() + time); + String period = new SimpleDateFormat("m 'min' H 'hours'").format(new Date(2000, 0, 1, 0, 0, 0).getTime() + time); List> list = ProgressManagerImpl.getTimeWasters(); StringBuilder s = new StringBuilder("Successfully wasted " + percentage +"% of your time in " + period + ":
");