Don't let download statistics time-range reach the present day
This commit is contained in:
parent
0ffadaf0cd
commit
cf928b006d
@ -4,9 +4,9 @@ header("Content-Type: text/javascript");
|
||||
echo '{"sourceforge": ';
|
||||
echo file_get_contents(
|
||||
"http://sourceforge.net/projects/jooq/files/stats/json?start_date=" .
|
||||
date('Y-m-d', time() - (360 * 24 * 60 * 60)) .
|
||||
date('Y-m-d', time() - (390 * 24 * 60 * 60)) .
|
||||
"&end_date=" .
|
||||
date('Y-m-d'));
|
||||
date('Y-m-d', time() - (30 * 24 * 60 * 60)));
|
||||
|
||||
// Maven statistics are manually downloaded from oss.sonatype.com:
|
||||
echo ', "maven": {"2011-04":"23","2011-05":"30","2011-06":"43",' .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user