I've been taking a look at calendar_template [1] and I like the concept. It can be very useful for having country/region holiday templates the same way we have for accounts, and I think it would be a good addition to core modules.
BTW, I've seen that function check_event_match() and get_event_ruleset() don't seem to be used in the module itself or any other one. Are they really needed?
[1] https://bitbucket.org/ukoma/calendar_template
--
Albert Cervera i Areny
Tel: +34 93 553 18 03
Indeed, I don't see the requirements for calendar template.
Any CalDAV client can show many calendars at the same time and so for
such static event as holiday, I think it is enough to just share it.
So event could be created by XML with the noupdate state or just allow
to edit xml record for event Model.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/
--
Korbinian Preisler
____________________________________
virtual things
Preisler & Spallek GbR
Munich - Aix-la-Chapelle
Windeckstr. 77
81375 Munich - Germany
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56
Unfortunately caldav api does not support recurrence rules dependent on
easter. This was the reason why we created this module. Are you really
sure that you want to provide static data for holidays dependent on
easter? What date range do you want to provide?
I think our module is more flexible at this point because you can decide
by yourself which date range you want to fill into your calendar.
I also know some calendar clients that do not like recurrence rules with
many recurrence dates. They will loose performance if you will provide a
big date range for easter dates.
So don't use a recurrent event for easter.