Re: [PEPr] Comment on Date and Time::Date_Holidays
| From: | Moritz Heidkamp | Date: | Sun, 20 Jun 2004 20:57:14 +0000 |
| Subject: | Re: [PEPr] Comment on Date and Time::Date_Holidays | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30978@lists.php.net to get a copy of this message | ||
Hi all,
Lorenzo Alberton wrote:
INI containers are probably the easiest solution: ==[christian.en.ini]================= Epiphany = Epiphany AshWednesday = Ash Wednesday .... ============================== ==[christian.de.ini]================= Epiphany = Heilige Drei Könige AshWednesday = Aschermittwoch .... ============================== ==[christian.it.ini]================== Epiphany = Epifania AshWednesday = Le Ceneri .... ============================== The name of the holiday is just plain data, every user can edit them without effort, no rules involved here ;-)I just had an idea: What about using the iCalendar format (http://www.ietf.org/rfc/rfc2445.txt) used by Apple's iCal and Mozilla's calendar applications? I'm not into that calendar stuff too much but maybe someone else is able to implement this for Date_Holidays or Date_Calendar in general (perhaps as File_ICS)? Just an idea - creation of calendar files would be easy then since one could just use Mozilla or iCal :) Regards, Moritz.