That would not work because Zend_Date supports a greater timebase than DateTime.

But the main reason is that DateTime is officialy avaiable since PHP 5.2 and was previous marked as "experimental" and not included within the standard compilation.

And the Zend Framework uses a minimum of PHP 5.1.4....
If somewhen in the future the mimimum requirements will be raised to 5.2.0 or higher we will of course integrate DateTime as internal standard.

Greetings
Thomas
I18N Team Leader


----- Original Message ----- From: "Karol Grecki" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 25, 2007 6:44 PM
Subject: Re: [fw-general] Zend_Date vs. DateTime



That sounds reasonable.
What about making Zend_Date interoperable with DateTime?
So you could create Zend_Date based on DateTime object or return DateTime
from Zend_Date.
I think this could be useful. What do you think?


Thomas Weidner-2 wrote:

PS: We did not focus on doubling existing code... we looked for
simplification and additional functionality.


--
View this message in context: http://www.nabble.com/Zend_Date-vs.-DateTime-tf3815303s16154.html#a10806454 Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to