summaryrefslogtreecommitdiffhomepage
path: root/test/php/date_time/index.php
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-02-28 21:18:33 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-02-28 21:18:33 +0300
commit38ea191fbb91db000b1e68185359e612e7e47c54 (patch)
tree13f0e547e15b183362f4c94753a9bd6a2d303905 /test/php/date_time/index.php
parenta5dd0f8aa9b81921ff28c486a39fd46607dbdbd9 (diff)
downloadunit-38ea191fbb91db000b1e68185359e612e7e47c54.tar.gz
unit-38ea191fbb91db000b1e68185359e612e7e47c54.tar.bz2
Tests: fixed PHP "disable_functions" and "disable_classes" tests.
Diffstat (limited to 'test/php/date_time/index.php')
-rw-r--r--test/php/date_time/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/php/date_time/index.php b/test/php/date_time/index.php
index 4e06fdf9..42992c3f 100644
--- a/test/php/date_time/index.php
+++ b/test/php/date_time/index.php
@@ -1,4 +1,5 @@
<?php
-$d = new DateTime('2011-01-01T15:03:01.012345Z');
+date_default_timezone_set('Europe/Moscow');
+$d = new DateTime('2011-01-01T15:03:01.012345');
echo $d->format('u');
?>