com karma: fix timezone: hooks/post-receive.bugsweb
| From: | Alexander Moskaliov | Date: | Thu, 22 Mar 2012 13:57:26 +0000 |
| Subject: | com karma: fix timezone: hooks/post-receive.bugsweb | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-68148@lists.php.net to get a copy of this message | ||
Commit: d518a6a76e347636432deb6f415f411dbcd780f0
Author: Alexander Moskaliov <irker@php.net> Thu, 22 Mar 2012 17:57:26 +0400
Parents: 5a963dbc6c3ef0a08d18ec51bcc795645dc4c8a0
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=d518a6a76e347636432deb6f415f411dbcd780f0
Log:
fix timezone
Changed paths:
M hooks/post-receive.bugsweb
Diff:
d518a6a76e347636432deb6f415f411dbcd780f0
diff --git a/hooks/post-receive.bugsweb b/hooks/post-receive.bugsweb
index 030997c..cc91c4a 100755
--- a/hooks/post-receive.bugsweb
+++ b/hooks/post-receive.bugsweb
@@ -11,6 +11,7 @@ set_include_path(
getenv('KARMA_LIB_PATH') ?: LIB_PATH .
PATH_SEPARATOR .
get_include_path());
+date_default_timezone_set('UTC');
include 'Git.php';
include 'Git/PushInformation.php';