Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you create a recurring event whose start date and end dates span a DST change, the iCal instance processor creates duplicate event instance nodes beginning on the date of the DST change. For example, if we create a daily event that begins in February of 2001 and continues beyond March 13th, then duplicate instances are created for the event beginning on March 13th. The first instance will have a start time of 0:00, and the second instance will have a start time of 1:00.
Comment | File | Size | Author |
---|---|---|---|
#3 | dst-1071036-3.patch | 1.03 KB | stevector |
Comments
Comment #1
Bill Bostick CreditAttribution: Bill Bostick commentedCorrect typo in title...
Comment #2
Bill Bostick CreditAttribution: Bill Bostick commentedMy example should read 2011, not 2001... I really shouldn't create issues prior to 2pm...
Comment #3
stevectorI think the problem was that ICalInstanceProcessor->findMostRecentInstance() uses the database timezone instead of the event timezone for its date object. Here is a patch that converts that date object to the event timezone.
Comment #4
stevectorThe above patch will only fix instances in a series that have at least one accurate event still in the future. If the only future events are past DST and incorrect, they will have to be manually deleted. Once they are cleared, cron should replace them with correct dates.
Comment #5
stevector