[Tickets #4808] iCalendar.php function "parseDateTime" returns string for date 0
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Dec 21 03:02:31 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4808
-----------------------------------------------------------------------
Ticket | 4808
Created By | wrobel at gentoo.org
Summary | iCalendar.php function "parseDateTime" returns string for date 0
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
+New Attachment | framework_iCalendar-parseDateTime_fix-20061221.patch
-----------------------------------------------------------------------
wrobel at gentoo.org (2006-12-21 03:02) wrote:
When _parseDateTime in iCalendar.php parses the date "19700101T000000Z" the
result will be 0. The final check in that function assumes that parsing
failed and returns a string which is incorrect.
The attached patch fixes the problem and adds a test for that situation.
More information about the bugs
mailing list