From 5ee5fb30e57c07eda8e8e0ced6011eb0d1b76802 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 22 Aug 2006 16:12:39 +0000 Subject: [PATCH] simpler date format --- macosx/MessageWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/MessageWindowController.m b/macosx/MessageWindowController.m index 7e8f6b293..b69042d53 100644 --- a/macosx/MessageWindowController.m +++ b/macosx/MessageWindowController.m @@ -106,7 +106,7 @@ levelString = @"???"; dateString = [[NSDate dateWithTimeIntervalSince1970: currentMessage->when] - dateWithCalendarFormat: @"%Y-%m-%d %H:%M:%S" timeZone: nil]; + dateWithCalendarFormat: @"%1m/%d %H:%M:%S" timeZone: nil]; messageString = [[[NSAttributedString alloc] initWithString: [NSString stringWithFormat: @"%@ %@ %s", dateString, levelString, currentMessage->message] attributes: fAttributes] autorelease];