rianjs / ical.net

ical.NET - an open source iCal library for .NET
MIT License
777 stars 230 forks source link

AddTimeZone(string, DateTime, bool) fails if the DateTime parameter is a leap day (February 29) #583

Open st-abarker opened 11 months ago

st-abarker commented 11 months ago

When trying to exclude historical data from a time zone being added to a calendar object, providing a leap day for earliestDateTimeToSupport causes an exception indicating an invalid date. This appears to be due to the way the method calculates the date for one year prior to the provided earliestDateTimeToSupport.

fatimaatharkhan commented 11 months ago

Is this project actively being worked on as I want to contribute to it. If yes, can you please assign a good first issue to me in this project? I am a junior, completing my Bachelor's degree in CS and this will be my first contribution.