Subject: | Bug in DTSTART and END handling |
Date: | Tue, 14 Jun 2016 15:53:53 +0200 |
To: | bug-iCal-Parser [...] rt.cpan.org |
From: | Sebastian Himmler <sebastian_himmler [...] genua.de> |
Hi there,
I've found a bug in the handling of the VALUE key in DTSTART and DTEND.
Could you please put this online and tell me when this happened? thanks!
--- /usr/share/perl5/iCal/Parser.pm 2016-06-14 15:49:05.852378257 +0200
+++ /var/tmp/Parser.pm 2016-06-14 15:49:21.068210341 +0200
@@ -112,7 +112,7 @@
if $self->{debug};
# stolen from Text::vFile::asData example
- $e{allday}=1 if _param($event,'DTSTART','VALUE')||'' eq 'DATE';
+ $e{allday}=1 if ((_param($event,'DTSTART','VALUE')||'') eq 'DATE');
#is it a rule that an event must contain either a duration or end?
# answer: no, it's not (cpan bug #25232)
- shimm
--
Sebastian Himmler
System Administration
tel +49 89 991950-270
sebastian_himmler@genua.de
genua GmbH
Domagkstrasse 7, 85551 Kirchheim bei Muenchen
tel +49 89 991950-0, fax -999, www.genublog.de, www.genua.de
Geschaeftsfuehrer: Dr. Magnus Harlander, Dr. Michaela Harlander,
Bernhard Schneck. Amtsgericht Muenchen HRB 98238
genua ist ein Unternehmen der Bundesdruckerei-Gruppe.