simpler date format
This commit is contained in:
parent
bd45757225
commit
5ee5fb30e5
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue