From 794846e5c52c46b6a7ae03c28a1619974ec3ef06 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 4 Apr 2004 12:42:13 +0000 Subject: [PATCH] - One more test for a date/time related bug. --- ext/standard/tests/time/bug21966.phpt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ext/standard/tests/time/bug21966.phpt 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 -- 2.50.1