Details
Description
Functions
Zend_Date::getSunrise()
Zend_Date::getSunset()
The problem occoured in revision 2729:
Where it says
'Zend_Date::TIMESTAMP'
Zend_Date::TIMESTAMP
Zend_Date::set()
Functions
Zend_Date::getSunrise()
Zend_Date::getSunset()
The problem occoured in revision 2729:
Where it says
'Zend_Date::TIMESTAMP'
Zend_Date::TIMESTAMP
Zend_Date::set()
Interesting...
I am doing this:
$date = new Zend_Date(1010101010); $date->setTimezone('Indian/Maldives'); $result = $date->getSunset(Zend_Date_Cities::City('vienna')); echo $result->get(Zend_Date::W3C);and it returns this:
So in my eyes it works.
I think you made a mistake by using getSunset as static which is not true. This should throw an error by php as this method is not static and needs an instance.
If not, please give a reproducable example, so we can verify the problem.
$date = new Zend_Date(1010101010); $date->setTimezone('Indian/Maldives'); $result = $date->getSunset(Zend_Date_Cities::City('vienna')); echo $result->get(Zend_Date::W3C);