From 4089df62ebadf3a76d99ba87e73b1f245c66a72b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Nov 2014 19:11:36 +0100 Subject: checkpkgist: fix for timezone --- checkpkgist.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'checkpkgist.php') diff --git a/checkpkgist.php b/checkpkgist.php index b282b88..e3cf4f2 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -32,6 +32,10 @@ require_once 'Cache/Lite.php'; +if (!ini_get('date.timezone')) { + ini_set('date.timezone', 'Europe/Paris'); +} + define ('VERSION', '1.0.0-dev'); class PkgClient { -- cgit