Re: [HC Evolution] Calendar to-do list



Yup - this is a big problem since all events/schedules and stuff are stored
in time_t format I believe. I think it can be done via the UI though. Say
for example I want to schedule something while in "Islamic Mode". I have a
UI option (radio buttons?) to choose between either:
A) A "fixed" mode. - this event will occur on 2nd of Ramadan regardless of
whether the leap month occurs or not
or
B) A "rolling" mode - This event will occurs 2 days after "Sha'aban" has
ended (i.e. this takes into account whether the leap months occur or not).

The problem is how does the /native/ file format (vCalendar or iCalendar?)
handle that? It doesn't as far as my knowledge goes. Russel Steinthal
mentioned some sort of "property" we can set. But i can't decipher RFCs and
stuff.

You could of course come up with your own file format (or write up something
in the spec and submit it - but that will be A) Time Consuming and B) Very
difficult)


Anyway - my thinking was that the PCS should be generic enough to
handle any
types of months/days/years. Then for example we could have an 'Islamic
View'
a 'Hebrew View' a 'Gregorian view' and even a 'Julian View'. Is that
'feasible' (I haven't looked at the code)?

I think this is the Right Way.  since iCalendar supports gregorian
calendars, that's the sanest storage method for data, right?  and then
implement a display-layer on top of that?

But this doesn't deal with the sliding Islamic calendar problem. ie,
you schedule something, the UI converts to Gregorian and sends it to
the PCS, and then an expected leap day fails to materialize, resulting
in your Gregorian-dated appointment being off by a day.

-- Dan







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]