[banshee/stable-1.6] [Log] do not show 's' at the end of times
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/stable-1.6] [Log] do not show 's' at the end of times
- Date: Tue, 27 Apr 2010 12:24:29 +0000 (UTC)
commit a53518fa55dc683f1480a12f3c1987f6a176ab1c
Author: Aaron Bockover <abockover novell com>
Date: Tue Apr 27 08:17:24 2010 -0400
[Log] do not show 's' at the end of times
It's really annoying to parse with shell/awk foo.
src/Libraries/Hyena/Hyena/Log.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Libraries/Hyena/Hyena/Log.cs b/src/Libraries/Hyena/Hyena/Log.cs
index c000cc1..6a925fb 100644
--- a/src/Libraries/Hyena/Hyena/Log.cs
+++ b/src/Libraries/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]