From: Derick Rethans Date: Sun, 4 Apr 2004 12:42:13 +0000 (+0000) Subject: - One more test for a date/time related bug. X-Git-Tag: php-5.0.0RC2RC1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=794846e5c52c46b6a7ae03c28a1619974ec3ef06;p=php - One more test for a date/time related bug. --- diff --git a/ext/standard/tests/time/bug21966.phpt b/ext/standard/tests/time/bug21966.phpt new file mode 100644 index 0000000000..637a957f2d --- /dev/null +++ b/ext/standard/tests/time/bug21966.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #21966 (date() or mktime() returning bad value for mktime month param of '2') +--FILE-- + +--EXPECT-- +27/3/04 = 1080345600 +28/3/04 = 1080432000 +28/3/04 = 1080435600 +29/3/04 = 1080514800 +30/3/04 = 1080601200