aboutsummaryrefslogtreecommitdiff
path: root/conformance/conformance_php.php
diff options
context:
space:
mode:
Diffstat (limited to 'conformance/conformance_php.php')
-rwxr-xr-xconformance/conformance_php.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/conformance/conformance_php.php b/conformance/conformance_php.php
index b6e12c01..2e3f7831 100755
--- a/conformance/conformance_php.php
+++ b/conformance/conformance_php.php
@@ -38,6 +38,10 @@ require_once("GPBMetadata/Google/Protobuf/TestMessagesProto3.php");
use \Conformance\WireFormat;
+if (!ini_get("date.timezone")) {
+ ini_set("date.timezone", "UTC");
+}
+
$test_count = 0;
function doTest($request)