summaryrefslogtreecommitdiffstats
path: root/lib.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-11 16:31:53 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-11 16:31:53 +0000
commitf6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e (patch)
tree41f8024469f561366a7e98d24d0bb573457f837d /lib.php
parent10bc4d221f7d1d057ba71af66a5370389630345f (diff)
downloadpkgsubmit-f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e.tar
pkgsubmit-f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e.tar.gz
pkgsubmit-f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e.tar.bz2
pkgsubmit-f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e.tar.xz
pkgsubmit-f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e.zip
build times in UTC
Diffstat (limited to 'lib.php')
-rw-r--r--lib.php2
1 files changed, 1 insertions, 1 deletions
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