You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This year, this results in events in one week being displayed one hour early.
From what I can see in the code for VTimeZone.cs, it guesses how the rule applies like this:
ByDay.Add(num != 5 ? new WeekDay(weekday, num) : new WeekDay(weekday, -1));
From my perspective, it would be better to guess that if it is the last sunday in the month, the rule should be accordingly. However, this may have side effects if dailight saving dates are actually defined to be on the 4th sunday in the month.
The correct solution would probably be to retrieve the actual rule from tzdb instead of guessing it, but that probably is overkill.
The text was updated successfully, but these errors were encountered:
@GabrielKatz we (as in the company I work for) decided to move on and fork this repository and merged a few bug fixes that have been lying around in this repository for years.
We dislike this but concluded that we had no other choice, you can find this when searching for laget.Ical.Net.
My local timezone currently is serialized as
However, it should be
This year, this results in events in one week being displayed one hour early.
From what I can see in the code for VTimeZone.cs, it guesses how the rule applies like this:
From my perspective, it would be better to guess that if it is the last sunday in the month, the rule should be accordingly. However, this may have side effects if dailight saving dates are actually defined to be on the 4th sunday in the month.
The correct solution would probably be to retrieve the actual rule from tzdb instead of guessing it, but that probably is overkill.
The text was updated successfully, but these errors were encountered: