Add more details about time jump test

This commit is contained in:
Andrew Ruthven 2021-09-19 00:39:52 +12:00
parent 778f51ca28
commit 255e8bf463
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ $tests = array(
, new RRuleTest( "Six Working Days", "20110905", "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR;COUNT=6" )
, new RRuleTest( "31st of each month", "20110831", "RRULE:FREQ=MONTHLY;BYMONTHDAY=31;COUNT=12" )
, new RRuleTest( "Expand over daylight savings change day forward - but no time change (2020-09-27)", "20200925T011500 Pacific/Auckland", "RRULE:FREQ=DAILY;COUNT=12" )
, new RRuleTest( "Expand over daylight savings change forward - time jump (2020-09-27)", "20200925T021500 Pacific/Auckland", "RRULE:FREQ=DAILY;COUNT=12" )
, new RRuleTest( "Expand over daylight savings change forward - time jump (2020-09-27) - According to RFC 5545, because 02:15 doesn't exist on 2020-09-27, that day should be skipped", "20200925T021500 Pacific/Auckland", "RRULE:FREQ=DAILY;COUNT=12" )
);
foreach( $tests AS $k => $test ) {

View File

@ -543,7 +543,7 @@ SQL Result:
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
20200925T021500 Pacific/Auckland - RRULE:FREQ=DAILY;COUNT=12
Expand over daylight savings change forward - time jump (2020-09-27)
Expand over daylight savings change forward - time jump (2020-09-27) - According to RFC 5545, because 02:15 doesn't exist on 2020-09-27, that day should be skipped
PHP & SQL results are identical (-:
PHP Result: