There are some areas of the code that rely on Zend_Date::toString to convert Zend_Date into DateTime objects. This isn't a reliable way to do it as some locales do not generate strings that can be correctly parsed by DateTime::__construct.
We need to modify the code to be able to safely convert between Zend_Date and DateTime, regardless of locale.
There are some areas of the code that rely on
Zend_Date::toString
to convertZend_Date
intoDateTime
objects. This isn't a reliable way to do it as some locales do not generate strings that can be correctly parsed byDateTime::__construct
.We need to modify the code to be able to safely convert between
Zend_Date
andDateTime
, regardless of locale.Related Issues:
7