summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libcalendaring.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-09-19 09:01:13 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-09-19 09:01:13 (GMT)
commit4700a07a89190cab913d1807a0c07016b63c6e90 (patch)
tree1b9f6b8152ec0ba2a2681880c00f7a26a934e44a /plugins/libcalendaring/libcalendaring.php
parent20c0706d9d0cc9ec8104cc8062e98958a25ec659 (diff)
downloadroundcubemail-plugins-kolab-4700a07a89190cab913d1807a0c07016b63c6e90.tar.gz
Fix ical alarms handling (#2239) and object validation
Diffstat (limited to 'plugins/libcalendaring/libcalendaring.php')
-rw-r--r--plugins/libcalendaring/libcalendaring.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index 608a527..3016e51 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -308,7 +308,7 @@ class libcalendaring extends rcube_plugin
{
if ($val[0] == '@')
return array(substr($val, 1));
- else if (preg_match('/([+-])(\d+)([HMD])/', $val, $m))
+ else if (preg_match('/([+-])P?T?(\d+)([HMSDW])/', $val, $m))
return array($m[2], $m[1].$m[3]);
return false;