-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with RRULE when TZID:Europe/Stockholm #533
Comments
We experience the same here. It's the same for most/all western standard time zones I think.
` The datetime used here is "DTSTART:20191027T030000". Nodatime (probably correctly) reports it as the datetime of change according to the most recent adjustment rule. That was the 4'th sunday that year (also the last). But this year there are 5 sundays in october. And the correct rule would be the last, not the 4th sunday. But since the old 2019 date for last sunday is used, and that was in week 4 of the month, the WeekOfMonth() returns 4 and not 5 witch would be correct for this year...and thus the rule becomes 4th sunday, not last sunday... It is an error to assume that the datetime of the most recent adjustment rule for dst/std will be in the same week of the month for all years. It is not. And then the calculation will be off by an hour in this case. Which is very bad. This has really caused us some grief now... |
I'm having the same problem setting "Europe/Rome" and "CET" as TimezoneId. The rule should definitely be the last Sunday of March/October. Is there any chance this will be fixed soon? |
@rianjs is this something that could be solved? When looking at the current state of pull requests they seem not to be merged (the last merged pull request is Apr 10, 2021) so for us to fix this bug, then have to wait a few months or years is sadly not an option. |
@chiarapivetta @eriknuds 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 |
Hi
I've been scratching my head for a while and can't find any code issues on our side (with that said, I could have missed something). But when we're exporting calendars for the Timezone
Europe/Stockholm
theCET
rule is incorrect.Sweden changes from
CEST
toCET
on the 30th of October which is the 5th Sunday, not the 4th.Is this an issue with iCal.NET or something else?
Kind Regards
The text was updated successfully, but these errors were encountered: