Subject: | Allow holiday recurrence date range |
I tried defining a multi-day holiday using recurrences:
0:0:0:1:0:0:0**20131221*20131221*20140104 = Winter Holiday
I believe this says "every day between December 21, 2013 and January 3, 2014 inclusive". If not, then please substitute the correct recurrence. :)
I eventually discovered that I could get the desired effect with this Event spec:
20131221 ; 20140103 = Winter Holiday
However, that requires that I follow a false return from Date_IsHoliday() with a call to Events_List(), then check for an empty return. It would be nicer if Date_IsHoliday(ParseDate('Dec 28')) would return 'Winter Holiday'.
Incidentally, it would be nice if the 'base' field weren't required here. If you give a date range, shouldn't it be able to guess that the base date is equal to the start date?