danielc Mon, 22 Aug 2011 14:47:12 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=315298
Log: Fix spring tests for dst/st transition second. Changed paths: U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type2.inc U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type3.inc U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type2.inc U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type3.inc U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type2.phpt U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type3.phpt U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type2.phpt U php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type3.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type2.inc U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type3.inc U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type2.inc U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type3.inc U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type2.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type3.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type2.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type3.phpt U php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type2.inc U php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type3.inc U php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type2.inc U php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type3.inc U php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type2.phpt U php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type3.phpt U php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type2.phpt U php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type3.phpt
Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type2.inc =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type3.inc =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type2.inc =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type3.inc =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type2_st: DAYS: **1** test_time_spring_type2_post_type2_dt: DAYS: **1** test_time_spring_type2_post_type2_post: DAYS: **0** -test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type3_st: DAYS: **1** test_time_spring_type2_post_type3_dt: DAYS: **1** test_time_spring_type2_post_type3_post: DAYS: **0** -test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type3_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type2_st: DAYS: **1** test_time_spring_type3_post_type2_dt: DAYS: **1** test_time_spring_type3_post_type2_post: DAYS: **0** -test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type3_st: DAYS: **1** test_time_spring_type3_post_type3_dt: DAYS: **1** test_time_spring_type3_post_type3_post: DAYS: **0** -test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type3_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type2.inc =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type3.inc =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type2.inc =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type3.inc =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type2.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type2_st: DAYS: **1** test_time_spring_type2_post_type2_dt: DAYS: **1** test_time_spring_type2_post_type2_post: DAYS: **0** -test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type3.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type3_st: DAYS: **1** test_time_spring_type2_post_type3_dt: DAYS: **1** test_time_spring_type2_post_type3_post: DAYS: **0** -test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type3_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type2.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type2_st: DAYS: **1** test_time_spring_type3_post_type2_dt: DAYS: **1** test_time_spring_type3_post_type2_post: DAYS: **0** -test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type3.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type3_st: DAYS: **1** test_time_spring_type3_post_type3_dt: DAYS: **1** test_time_spring_type3_post_type3_post: DAYS: **0** -test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type3_stsec: DAYS: **0** Modified: php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type2.inc =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type3.inc =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_data-spring-type2-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type2_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59 EST'); // stsec, zt2 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type2_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00 EDT'); // dtsec, zt2 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type2.inc =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type2.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type2_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00 EDT'); // dtsec, zt2 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00 EDT'); // dtsec, zt2 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type2_stsec: "; -$end = new DateTime('2010-03-15 01:59:59 EST'); // stsec, zt2 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59 EST'); // stsec, zt2 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type3.inc =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_data-spring-type3-type3.inc 2011-08-22 14:47:12 UTC (rev 315298) @@ -99,11 +99,11 @@ examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0); echo "test_time_spring_type3_stsec_type3_dtsec: "; -$end = new DateTime('2010-03-15 03:00:00'); // dtsec, zt3 -$start = new DateTime('2010-03-13 01:59:59'); // stsec, zt3 +$end = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 +$start = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0); echo "test_time_spring_type3_dtsec_type3_stsec: "; -$end = new DateTime('2010-03-15 01:59:59'); // stsec, zt3 -$start = new DateTime('2010-03-13 03:00:00'); // dtsec, zt3 +$end = new DateTime('2010-03-14 01:59:59'); // stsec, zt3 +$start = new DateTime('2010-03-14 03:00:00'); // dtsec, zt3 examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0); Modified: php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type2.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type2_st: DAYS: **1** test_time_spring_type2_post_type2_dt: DAYS: **1** test_time_spring_type2_post_type2_post: DAYS: **0** -test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type3.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_days-spring-type2-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type2_post_type3_st: DAYS: **1** test_time_spring_type2_post_type3_dt: DAYS: **1** test_time_spring_type2_post_type3_post: DAYS: **0** -test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** test_time_spring_type2_dtsec_type3_stsec: DAYS: **0** Modified: php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type2.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type2.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type2_st: DAYS: **1** test_time_spring_type3_post_type2_dt: DAYS: **1** test_time_spring_type3_post_type2_post: DAYS: **0** -test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type2_stsec: DAYS: **0** Modified: php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type3.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 13:44:28 UTC (rev 315297) +++ php/php-src/trunk/ext/date/tests/DateTime_days-spring-type3-type3.phpt 2011-08-22 14:47:12 UTC (rev 315298) @@ -27,5 +27,5 @@ test_time_spring_type3_post_type3_st: DAYS: **1** test_time_spring_type3_post_type3_dt: DAYS: **1** test_time_spring_type3_post_type3_post: DAYS: **0** -test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** +test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** test_time_spring_type3_dtsec_type3_stsec: DAYS: **0**
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php