systemart / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 0 forks source link

Tracker "Last" scrape date invalid #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a torrent, leech/seed whatever
2. Click on the torrent to view info
3. Click on Tracker

What is the expected output? What do you see instead?
Expect to see last good tracker scrape. Instead see a 1969 date.

What version of the product are you using? On what operating system?
rtgui 0.27 (slightly modified) with rtorrent 0.8.4

Please provide any additional information below.
Problem can be fixed by removing @round($item[get_last_scrape]/1000000).
t.get_last_scrape provides time in seconds since 1969. Passing that
directly to PHPs date function gives the correct date/time.

Original issue reported on code.google.com by shez...@gmail.com on 8 Jul 2009 at 5:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In view.php:

echo "<div class='datacol smalltext' 
style='width:124px;>".($item['get_scrape_time_last']>0 ? date("Y-m-d
H:i",$item['get_scrape_time_last']) : "never")."</div>\n";

Original comment by shez...@gmail.com on 8 Jul 2009 at 5:44

GoogleCodeExporter commented 9 years ago
Hi

Thanks for the report, and thanks even more for the fix :)

Will be fixed in next version.

And sorry for delay in response - been on holidays...

-Simon

Original comment by lemonbe...@gmail.com on 11 Aug 2009 at 7:50