(trunk) #3698 "creation date of magnet links are set before the epoch." -- fixed.

This commit is contained in:
Charles Kerr
2010-11-08 19:16:03 +00:00
parent 130b52ce93
commit ffe54a20ed
3 changed files with 11 additions and 2 deletions

View File

@@ -210,6 +210,9 @@ Transmission.fmt = (function()
timestamp: function( seconds )
{
if( !seconds )
return 'N/A';
var myDate = new Date(seconds*1000);
var now = new Date();