From d6567abbf40069f105e6fe314f7f595f062785af Mon Sep 17 00:00:00 2001 From: Kai Schroeder Date: Sun, 9 Feb 2003 12:20:54 +0000 Subject: [PATCH] Windows does not support dates prior to midnight, January 1, 1970 --- ext/standard/tests/time/002-win32.phpt | 66 ++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 ext/standard/tests/time/002-win32.phpt diff --git a/ext/standard/tests/time/002-win32.phpt b/ext/standard/tests/time/002-win32.phpt new file mode 100644 index 0000000000..1d7ef57153 --- /dev/null +++ b/ext/standard/tests/time/002-win32.phpt @@ -0,0 +1,66 @@ +--TEST-- +strtotime() function +--SKIPIF-- + +--FILE-- + +--EXPECT-- +1999-10-13 00:00:00 +1999-10-13 00:00:00 +2000-01-19 00:00:00 +2000-01-19 00:00:00 +2001-12-21 00:00:00 +2001-12-21 00:00:00 +2001-12-21 12:16:00 +2001-12-21 12:16:00 +2001-10-22 21:19:58 +2001-10-22 23:19:58 +2001-10-22 23:32:58 +2001-10-22 19:19:58 +2001-10-22 19:06:58 +1999-10-13 00:00:00 +1999-10-13 00:00:00 +2000-01-19 00:00:00 +2000-01-19 00:00:00 +2001-12-21 00:00:00 +2001-12-21 00:00:00 +2001-12-21 12:16:00 +2001-12-21 12:16:00 +2001-10-22 21:19:58 +2001-10-23 01:19:58 +2001-10-23 01:32:58 +2001-10-22 21:19:58 +2001-10-22 21:06:58 -- 2.40.0