projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e898d5
)
EXDATE can be a DATE-TIME field.
author
Jan Schneider
<jan@horde.org>
Wed, 11 Aug 2010 15:26:38 +0000
(17:26 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 11 Aug 2010 15:34:56 +0000
(17:34 +0200)
framework/Icalendar/lib/Horde/Icalendar.php
patch
|
blob
|
history
diff --git
a/framework/Icalendar/lib/Horde/Icalendar.php
b/framework/Icalendar/lib/Horde/Icalendar.php
index
997595c
..
3f4584f
100644
(file)
--- a/
framework/Icalendar/lib/Horde/Icalendar.php
+++ b/
framework/Icalendar/lib/Horde/Icalendar.php
@@
-718,7
+718,10
@@
class Horde_Icalendar
preg_match_all('/,([^,]*)/', ',' . $value, $values);
foreach ($values[1] as $value) {
- $dates[] = $this->_parseDate($value);
+ $stamp = $this->_parseDateTime($value);
+ $dates[] = array('year' => date('Y', $stamp),
+ 'month' => date('m', $stamp),
+ 'mday' => date('d', $stamp));
}
$this->setAttribute($tag, isset($dates[0]) ? $dates[0] : null, $params, true, $dates);
break;