Bug: 9336
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 16 Nov 2010 06:59:40 +0000 (01:59 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 16 Nov 2010 06:59:40 +0000 (01:59 -0500)
No longer need to call Horde_Date#correct, it's done internally.

framework/Icalendar/lib/Horde/Icalendar.php

index 4c323c8..515ea52 100644 (file)
@@ -934,7 +934,6 @@ class Horde_Icalendar
                                 'year' => $d->year,
                                 'month' => $d->month,
                                 'mday' => $d->mday - 1));
-                            $value->correct();
                             $value = $this->_exportDate($value, '235959');
                         } else {
                             $value = $this->_exportDate($value, '000000');