[CalendarServer-dev] [OT] calendar-color property

Pascal Robert probert at macti.ca
Tue Mar 3 15:22:42 PST 2009


Le 09-03-03 à 18:03, Wilfredo Sánchez Vega a écrit :

> On Feb 25, 2009, at 11:52 AM, Pascal Robert wrote:
>
>> It's more of an iCal client question, but maybe someone here know  
>> the answer. I'm trying to display calendar events in a Web app and  
>> I'm fetching the events by CalDAV from Calendar Server. And I use  
>> the color of the event's calendar to display the event with this  
>> color. So I fetch the "calendar-color" from the property, but the  
>> problem is that the color might be set like :
>>
>> 	#E51717FF
>>
>> Why it's 8 hex instead of 6?
>
> Beware that's an iCal thing, not a standard property.  Probably not  
> a big deal, just FYI.

I know :-)  It's a Web app that reads calendars to display upcoming  
events and I use the calendar color coming from iCal to put a color  
next to the events (somewhat like the screens at WWDC).


More information about the calendarserver-dev mailing list