diff --git a/src/torrent_info.cpp b/src/torrent_info.cpp index a9632a7ef..9e45d90c0 100755 --- a/src/torrent_info.cpp +++ b/src/torrent_info.cpp @@ -303,7 +303,10 @@ namespace libtorrent { return boost::optional(m_creation_date); } - return boost::optional(); + + // if there's no timestamp in the torrent file, this will return a date of january 1:st 1970. + boost::optional pt(boost::gregorian::date(1970,1,1)); + return pt; } void torrent_info::add_tracker(std::string const& url, int tier)