Hi,

I came across the following error :

$date = "20072010-09:40";
$zfDatetime = new Zend_Date($date, "ddMMYYYY-H:m");

$logger->debug($zfDatetime->get(Zend_Date::WEEKDAY_SHORT)); // the script
seems to run endlessly

Fatal error: Maximum execution time of 30 seconds exceeded in
C:\Data\websites\xyz\library\Zend\Date\DateObject.php  on line 757

1. What did I wrong ?
2. I think there is a small ZF bug here ... ZF should throw an exception if
the Zend_Date object was instanciated the wrong way.

Thank you for any help !
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Date-error-maximum-execution-time-exceeded-bug-tp2293283p2293283.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to