mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
simpler date format
This commit is contained in:
parent
bd45757225
commit
5ee5fb30e5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue