diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-02-28 21:18:33 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-02-28 21:18:33 +0300 |
commit | 38ea191fbb91db000b1e68185359e612e7e47c54 (patch) | |
tree | 13f0e547e15b183362f4c94753a9bd6a2d303905 /test/php/date_time/index.php | |
parent | a5dd0f8aa9b81921ff28c486a39fd46607dbdbd9 (diff) | |
download | unit-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.php | 3 |
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'); ?> |