Forward porting Event iCal end day date math fix.
This commit is contained in:
parent
38ff4f053b
commit
4ecc2c725e
3 changed files with 20 additions and 6 deletions
|
|
@ -586,9 +586,8 @@ sub getIcalEnd {
|
|||
my $self = shift;
|
||||
|
||||
if ($self->isAllDay) {
|
||||
my $date = $self->get("endDate");
|
||||
$date =~ s/\D//g;
|
||||
$date += 1;
|
||||
my $dte = $self->getDateTimeEnd->add(days => 1);
|
||||
my $date = $dte->toIcalDate;
|
||||
return $date;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue