rianjs / ical.net

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

Recurrent event duration inaccurate for leap/non-leap years #526

Open chihoyeung opened 3 years ago

chihoyeung commented 3 years ago

Greetings,

When getting recurring occurrences, there is an issue calculating the duration of multiday events that begin in February and end in March, it's not taking Leap Year into consideration.

I tested the issue in this fiddle: https://dotnetfiddle.net/bF8IGc

Thanks