ZF-8937: would be great to have an ability to set default format for Zend_Date
Description
Would be great to have an ability to set a default format for Zend_Date objects, instead of doing this thing every time:
<?php echo Zend_Date::now()->get(Zend_Date::DATE_MEDIUM);
I would do this instead:
<?php Zend_Date::setDefaultFormat(Zend_Date::DATE_MEDIUM); echo Zend_Date::now();
What do you think?
Comments
Posted by Thomas Weidner (thomas) on 2010-01-26T10:21:09.000+0000
Closing as duplicate