Hi Benedikt, > > > > trying to push a event started befor 1900 results in a database > > > > error and therefor in a 500 response to the client. > > > The underlaying database refuses to accept "18961224" as date while > > "19011224" works out pretty well. My "works for me" changes "18961224" > > or "19011224" into "18961224T000000Z" or "19011224T000000Z" which both > > are accepted as dates. > > Reading around a bit, rfc2445 says in 4.6.1 that the VEVENT component is > used for anniversaries with a DATE value type for the DTSTART property > instead of the default DATE-TIME. So "18961224" is indeed a valid value > for DTSTART.
I have just committed your patch in a slightly modified version that acts only on dates prior to 1900 (but after 1000), feeling that it would be too risky to convert all dates to DATE-TIME when DATE is a valid value according to the spec. Thank you for your contribution to DAViCal! It will be released in the upcoming version 1.1.4. Florian