We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f23f71d commit dac3885Copy full SHA for dac3885
BencodeNET.Net45/Objects/TorrentFile.cs
@@ -48,8 +48,8 @@ public DateTime CreationDate
48
{
49
get
50
51
- var unixTime = (BNumber) Value[Fields.CreationDate] ?? 0;
52
- return _epoch.AddSeconds(unixTime);
+ var unixTime = (BNumber) Value[Fields.CreationDate];
+ return unixTime == null ? DateTime.MinValue : _epoch.AddSeconds(unixTime);
53
}
54
set
55
0 commit comments