323bf0a4

Author: Tom Sydney Kerckhove <syd@cs-syd.eu>

Committer: Tom Sydney Kerckhove <NorfairKing@users.noreply.github.com>

ical-recurrence: keep the week day of a numeric ByDay

@
The BYDAY rule part
MUST NOT be specified with a numeric value with the FREQ rule part
set to YEARLY when the BYWEEKNO rule part is specified.
@

The number is meaningless once BYWEEKNO has fixed the week, so discard
the number and keep the week day rather than discarding the rule part.

Dropping it entirely was worse than ignoring the rule part: with no week
days left, the BYWEEKNO branch of yearlyDayCandidate falls back to all of
Monday to Sunday, which widens the recurrence set to every day of the
week instead of narrowing it.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 4s 1s 1s 6s 4s
Eval 6s 14s 14s 20s 0s
Build 19s 0s 0s 19s 0s
Suite 4s 16s 16s 20s 4s

Timeline

0s10s20s