1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

#4872 "December 31, 1969 7:00 PM" is displayed in the inspector instead of "N/A"

This commit is contained in:
Mitchell Livingston 2012-04-17 03:11:34 +00:00
parent 5ad842b6a8
commit 27f7ecbcbd

View file

@ -181,7 +181,7 @@
[fDownloadedTotalField setStringValue: @""];
[fUploadedTotalField setStringValue: @""];
[fFailedHashField setStringValue: @""];
[fDateActivityField setStringValue: @""];
[fDateActivityField setObjectValue: @""]; //using [field setStringValue: @""] causes "December 31, 1969 7:00 PM" to be displayed, at least on 10.7.3
[fRatioField setStringValue: @""];
}
@ -190,8 +190,9 @@
[fErrorMessageView setString: @""];
[fDateAddedField setStringValue: @""];
[fDateCompletedField setStringValue: @""];
//using [field setStringValue: @""] causes "December 31, 1969 7:00 PM" to be displayed, at least on 10.7.3
[fDateAddedField setObjectValue: @""];
[fDateCompletedField setObjectValue: @""];
[fDownloadTimeField setStringValue: @""];
[fSeedTimeField setStringValue: @""];