Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4872 closed Bug (fixed)

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

Reported by: livings124 Owned by: livings124
Priority: Normal Milestone: 2.52
Component: Mac Client Version: 2.51
Severity: Normal Keywords:
Cc:

Description

On 10.7.3, at least, "December 31, 1969 7:00 PM" is displayed for dates in the inspector -> activity view instead of the placeholder text.

This looks to be a bug with date formatters (and a radar has been filed with Apple), but can be worked around by using setObjectValue: instead of setStringValue:.

Change History (3)

comment:1 Changed 10 years ago by livings124

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 10 years ago by x190

I think the eleven (11) references in Torrent.m, TrackerNode?.m, and MessageWindowController?.m to things like "[NSDate dateWithTimeIntervalSince1970: date]" might have something to do with it? Thought it was just a default value (or maybe your d.o.b. :-) ), but I could well be wrong.

I'm guessing the time of day displayed is related to the time you opened the application.

https://forum.transmissionbt.com/viewtopic.php?f=4&t=13311

See also "tr_torrentSetAddedDate( tor, tr_time( ) ); /* this is a default value to be overwritten by the resume file */" in libtransmission/torrent.c.

Version 2, edited 10 years ago by x190 (previous) (next) (diff)

comment:3 Changed 10 years ago by livings124

That is unrelated. "December 31, 1969 7:00 PM" is the "zero" date.

Note: See TracTickets for help on using tickets.