From cf928b006d2d9740d234e9a077cea747d566641c Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 7 May 2012 20:17:44 +0200 Subject: [PATCH] Don't let download statistics time-range reach the present day --- jOOQ-website/json/stats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jOOQ-website/json/stats.php b/jOOQ-website/json/stats.php index ca63977489..a90e2dd9ce 100644 --- a/jOOQ-website/json/stats.php +++ b/jOOQ-website/json/stats.php @@ -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",' .