simpler date format

This commit is contained in:
Mitchell Livingston 2006-08-22 16:12:39 +00:00
parent bd45757225
commit 5ee5fb30e5
1 changed files with 1 additions and 1 deletions

View File

@ -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];