bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ 100915 ] NSLog format not sortable


From: nobody
Subject: [ 100915 ] NSLog format not sortable
Date: Wed, 15 May 2002 11:14:19 -0400

Support Request #100915, was updated on 2002-May-15 11:14
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100915&group_id=99

Category: Foundation
Status: Open
Priority: 5
Summary: NSLog format not sortable

By: lcampbel
Date: 2002-May-15 11:14

Message:
Logged In: NO 
Browser: Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)

NSLog's format doesn't show the year, is not sortable, and differs from MacOS X.

Here's the fix:

==== //projects/dns/gnustep-base-1.1.1/akamai/gnustep-base/Source/NSLog.m#1 - 
/common/u0/lcampbel/build/akamai/gnustep-base/Source/NSLog.m ====
@@ -129,7 +129,7 @@
   prefix = [NSString
             stringWithFormat: @"%@ %@[%d] ",
             [[NSCalendarDate calendarDate] 
-              descriptionWithCalendarFormat: @"%b %d %H:%M:%S"],
+              descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S.%F"],
             [[NSProcessInfo processInfo] processName],
             pid];


----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100915&group_id=99



reply via email to

[Prev in Thread] Current Thread [Next in Thread]