Created
October 21, 2015 09:11
-
-
Save rodde177/54eaab9cee125a8d8c38 to your computer and use it in GitHub Desktop.
test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $dateFormatIso = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); | |
| $fieldset->addField('from_date', 'date', array( | |
| 'name' => 'from_date', | |
| 'label' => Mage::helper('qbanner')->__('From Date'), | |
| 'title' => Mage::helper('qbanner')->__('From Date'), | |
| 'image' => $this->getSkinUrl('images/grid-cal.gif'), | |
| 'input_format' => Varien_Date::DATE_INTERNAL_FORMAT, | |
| 'format' => $dateFormatIso, | |
| )); | |
| $fieldset->addField('to_date', 'date', array( | |
| 'name' => 'to_date', | |
| 'label' => Mage::helper('qbanner')->__('To Date'), | |
| 'title' => Mage::helper('qbanner')->__('To Date'), | |
| 'image' => $this->getSkinUrl('images/grid-cal.gif'), | |
| 'input_format' => Varien_Date::DATE_INTERNAL_FORMAT, | |
| 'format' => $dateFormatIso, | |
| )); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment