[Cosmo-dev] Timezones in EIMML for events

Jeffrey Harris jeffrey at osafoundation.org
Thu Jan 25 10:15:06 PST 2007


Hi Brian,

> this is now addressed on the cosmo trunk. the general format for
> icalendar values that include parameters is as follows:
> 
> PARAM=value:PARAM=value:...:fieldvalue
> 
> with no particular ordering to the parameters, and with no leading
> semicolon. eg:
> 
> TZID=America/Los_Angeles:VALUE=DATE-TIME:20021010T120000

Hmm.  For date-times, that works fine, although it's notable that : is
the separator for parameters, not ; as in iCalendar.

Will we use iCalendar-style quoting (i.e., optionally allowing
paramvalues to be wrapped in double quotes and thus include more
characters)?

More generally, if : is allowed in fieldvalues, consider this sample
field value for a text field:

NotAParam=foo:Some exciting text: Yay!

How can a parser decide if NotAParam is, in fact, a parameter?

Sincerely,
Jeffrey


More information about the cosmo-dev mailing list