summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug43075.phpt
blob: e33a3bcc1f4a0d8782988092305ab9f8ade6eab4 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #43075 (Support 24 as hour)
--FILE--
<?php
date_default_timezone_set('UTC');
$d = date_create("2007-11-01T24:34:00+00:00");
echo $d->format("c");
?>
--EXPECT--
2007-11-02T00:34:00+00:00