[hyena] do not show 's' at the end of times
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] do not show 's' at the end of times
- Date: Wed, 26 May 2010 02:37:32 +0000 (UTC)
commit 2e05b95a3825aa813a17b49382ae64d1742adf54
Author: Aaron Bockover <abockover novell com>
Date: Tue Apr 27 08:17:24 2010 -0400
do not show 's' at the end of times
It's really annoying to parse with shell/awk foo.
src/Hyena/Hyena/Log.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Hyena/Hyena/Log.cs b/src/Hyena/Hyena/Log.cs
index c000cc1..6a925fb 100644
--- a/src/Hyena/Hyena/Log.cs
+++ b/src/Hyena/Hyena/Log.cs
@@ -249,7 +249,7 @@ namespace Hyena
TimeSpan duration = finish - timers[id];
string d_message;
if (duration.TotalSeconds < 60) {
- d_message = String.Format ("{0}s", duration.TotalSeconds);
+ d_message = duration.TotalSeconds.ToString ();
} else {
d_message = duration.ToString ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]