Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
date_ical
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
date_ical
Commits
a621cb86
Commit
a621cb86
authored
Mar 16, 2016
by
maniosullivan
Committed by
Robert Rollins
Mar 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #2686827: Worked around a bug in iCalcreator relating to very long RRULEs.
parent
df3d0bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
libraries/ParserVcalendar.inc
libraries/ParserVcalendar.inc
+5
-0
No files found.
libraries/ParserVcalendar.inc
View file @
a621cb86
...
...
@@ -493,6 +493,11 @@ class ParserVcalendar {
}
$rrule
=
trim
(
$vcalendar_component
->
createRrule
());
# Due to a bug in iCalcreator 2.20.2, any RRULE that's too long to fit on one line will be returned without
# the endline and second-line indentation removed. Thus, we need to do it ourselves.
$rrule
=
preg_replace
(
'/\s/'
,
''
,
$rrule
);
$rdate
=
trim
(
$vcalendar_component
->
createRdate
());
$exrule
=
trim
(
$vcalendar_component
->
createExrule
());
$exdate
=
trim
(
$vcalendar_component
->
createExdate
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment