ical-org / ical.net

ical.NET - an open source iCal library for .NET
MIT License
784 stars 231 forks source link

RDATE deserialization: Can't keep apart Periods and Dates/Times #570

Open minichma opened 1 year ago

minichma commented 1 year ago

RDATEs are represented in ical.net as PeriodList and therefore, when it comes to deserialization, the values of RDATEs are deserialized to instances of Period. According to the RFC RDATEs can hold any of the following value types "DATE-TIME" / "DATE" / "PERIOD".

Problems:

A related problem is described in #564, i.e. the duration value is lost if the time component equals midnight.

axunonb commented 2 days ago

Please double-check the new version merged with #595

minichma commented 2 days ago

@axunonb The problem still exists!

Btw, appreciate a lot that life is coming back to this project! :-)

minichma commented 1 day ago

@axunonb Reopen this one?