6.0.0-alpha12
6/12/25

[#11004] Kolab_Format incompatible with PHP 5.2
Summary Kolab_Format incompatible with PHP 5.2
Queue Kolab
Type Bug
State Not A Bug
Priority 1. Low
Owners wrobel (at) horde (dot) org
Requester wrobel (at) horde (dot) org
Created 02/17/2012 (4864 days ago)
Due
Updated 04/06/2012 (4815 days ago)
Assigned
Resolved 04/05/2012 (4816 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/06/2012 01:46:35 PM Gunnar Wrobel Comment #3 Reply to this comment
We require 5.3 now anyway.

Any reason not to use Horde_Date instead?
Not from your point of view :) As previously discussed I always tried 
to keep the amount of dependencies on other libraries low. 
Horde_Kolab_Format is a library that in my view should require nothing 
than plain PHP. Pulling in a package such as Horde_Date for the task 
required here is unnecessary and I consider it an impediment to 
adopting Horde_Kolab_Format stand-alone in another context.
04/05/2012 05:21:34 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
We require 5.3 now anyway.

Any reason not to use Horde_Date instead?
02/17/2012 07:42:53 AM Gunnar Wrobel Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Gunnar Wrobel
Queue ⇒ Kolab
Summary ⇒ Kolab_Format incompatible with PHP 5.2
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
Kolab_Format uses a PHP 5.3 feature which I overlooked when I 
refactored that part. Needs fixing.

./Kolab/Format/Date.php:136:        if ($date = DateTime::createFromFormat(
./Kolab/Format/Date.php:150:        return DateTime::createFromFormat(
./Kolab/Format/Date.php:167:        return DateTime::createFromFormat(
./Kolab/Format/Date.php:191:        if ($date = DateTime::createFromFormat(
./Kolab/Format/Date.php:205:        return DateTime::createFromFormat(



Saved Queries