mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-19 14:10:14 +00:00
Add more details about time jump test
This commit is contained in:
parent
778f51ca28
commit
255e8bf463
@ -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 ) {
|
||||
|
||||
@ -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:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user