Summary | iCalendar.php function "parseDateTime" returns string for date 0 |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | wrobel (at) gentoo (dot) org |
Created | 12/21/2006 (6745 days ago) |
Due | |
Updated | 12/22/2006 (6744 days ago) |
Assigned | |
Resolved | 12/22/2006 (6744 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
true. Thanks!
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ iCalendar.php function "parseDateTime" returns string for date 0
Queue ⇒ Horde Framework Packages
New Attachment: framework_iCalendar-parseDateTime_fix-20061221.patch
"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.