Comments (5)
Issue not only happening with Wordpress Events Manager, also have a case with eluceo/ical
Coming from bitfireAT/icsx5#198
from ical4j.
I'm observing the same issue with iCal generated by the Wordpress Event Calendar Plugin. Two calendar feeds using the Europe/Berlin
timezone to validate:
from ical4j.
Issue seems to be related to timezone definition.
This (for example) causes the issue:
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:20240331T010000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:20241027T010000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:20250330T010000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:20251026T010000
END:STANDARD
END:VTIMEZONE
While this works as expected:
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:19961027T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
END:VTIMEZONE
from ical4j.
Issue seems to be related to timezone definition. This (for example) causes the issue:
If I'm not mistaken, that first example doesn't include any current timezone information as the DTSTART values are all in the future.
from ical4j.
the DTSTART values are all in the future
Good catch, I just reported this to the plugin's support forum. Seems like a few php-based generators use DateTimeZone::getTransitions($start, $end)
which gives you a fixed set of tz transitions as opposed to proper rrules.
What's still weird is that while all timezone DTSTARTs are in the future, it also causes later events within those intervals to be parsed with the wrong time.
from ical4j.
Related Issues (20)
- IndexOutOfBoundsException in ZoneRulesBuilder.buildTransitionRules when BYDAY is missing in RRULE in VTIMEZONE
- Unnecessary WARN in the log HOT 1
- Memory Leak when using CalendarBuilder HOT 3
- Create a Version 4.0 Release HOT 4
- module-info.java is incomplete in 4.0.0 and 4.0.1 HOT 7
- TimeZoneRegistryImpl attempts to load classpath resources from non-existent locations HOT 1
- timezone UTC not recognized in 4.0.1 HOT 8
- event.calculateRecurrenceSet() throwing IllegalArgumentException with ical 4.0.1 HOT 7
- Generic type definiton seems to be ignored HOT 4
- Ical4j 4.0.1 introduced duplicated classes
- MS timezone "Central America Standard Time" is transformed with DST
- Error loading timezone aliases - these dont exist in the locations specified in the code HOT 1
- NullPointerException in Configurator HOT 5
- VAlarm cannot be cast to class CalendarComponent HOT 2
- Version 4.0.2 ~40% slower than 3.2.18 HOT 2
- The Recur getDates method does not handle the transition from daylight saving to standard time the same in 4.x HOT 4
- Proguard breaks ical4j
- setValue in StructuredData constructor with single String parameter fails with a ConstraintViolationException "Missing required VALUE"
- Embedded Vtimezone for Asia/Shanghai incorrect
- Error loading timezone aliases: inStream parameter is null HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ical4j.