implemented ETA calculator etorrent_rate:eta/2 and used it
commit8897863df106ab9eb94eff5589aa1b2b23a5dc53
authorTuncer Ayaz <tuncer.ayaz@gmail.com>
Sat, 16 Aug 2008 21:28:15 +0000 (16 23:28 +0200)
committerTuncer Ayaz <tuncer.ayaz@gmail.com>
Sat, 16 Aug 2008 21:28:15 +0000 (16 23:28 +0200)
tree097031901b22b1dfe0a962d22ea04332f6b55a68
parent276fabaa6517352c5ae29e78a547f34fff107f6c
implemented ETA calculator etorrent_rate:eta/2 and used it
in etorrent:list. for now it only returns
{DaysLeft, {HoursLeft, MinutesLeft, SecondsLeft}} and if
needed can be adjusted to also know about Weeks, Months, etc.
lib/etorrent-1.0/src/etorrent.erl
lib/etorrent-1.0/src/etorrent_rate.erl