[banshee] [Log] do not show 's' at the end of times
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Log] do not show 's' at the end of times
- Date: Wed, 5 May 2010 20:04:15 +0000 (UTC)
commit b4864e465bf27b929454b6f535197a4b0862a8fe
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]