From: Derick Rethans Date: Mon, 30 Aug 2010 15:40:36 +0000 (+0000) Subject: - Test for (non-)bug #52577. X-Git-Tag: php-5.4.0alpha1~191^2~1029 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=974f1ff2e90b0d33723ea5ce3611b84cb3898bb2;p=php - Test for (non-)bug #52577. --- diff --git a/ext/date/tests/bug52577.phpt b/ext/date/tests/bug52577.phpt new file mode 100644 index 0000000000..7a58f2a21a --- /dev/null +++ b/ext/date/tests/bug52577.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #52577 (Incorrect date returning) +--FILE-- +format($date_format); +?> +--EXPECT-- +String: 7.8.2010 +Unixtime: 1281128400 +Date(PHP): Sat, 07 Aug 2010 00:00:00 +0300 +DateTime(PHP Class): Fri, 06 Aug 2010 21:00:00 +0000