1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

simpler date format

This commit is contained in:
Mitchell Livingston 2006-08-22 16:12:39 +00:00
parent bd45757225
commit 5ee5fb30e5

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