From f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 11 Sep 2012 16:31:53 +0000 Subject: build times in UTC --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.php') diff --git a/lib.php b/lib.php index d00615b..50d70ad 100644 --- a/lib.php +++ b/lib.php @@ -117,7 +117,7 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null $pkgs[$key]['buildtime']['end'] = round($val[12]); $pkgs[$key]['buildtime']['diff'] = $pkgs[$key]['buildtime']['end'] - $pkgs[$key]['buildtime']['start']; - @$build_dates[date('G', $pkgs[$key]['buildtime']['start'])] += 1; + @$build_dates[gmdate('G', $pkgs[$key]['buildtime']['start'])] += 1; // keep obviously dubious values out of there // 12 hours is be an acceptable threshold given current BS global perfs -- cgit v1.2.1