Created
January 14, 2015 14:31
-
-
Save tegansnyder/30264e7827a702e53832 to your computer and use it in GitHub Desktop.
Date fields format
This file contains 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
<?php | |
include 'app/Mage.php'; | |
Mage::app(); | |
// start store emulation | |
//$store_id = 17; | |
//$appEmulation = Mage::getSingleton('core/app_emulation'); | |
//$initialEnvironmentInfo = $appEmulation->startEnvironmentEmulation($store_id); | |
echo Mage::getSingleton('catalog/product_option_type_date')->getConfigData('date_fields_order'); | |
// stop store emulation | |
//$appEmulation->stopEnvironmentEmulation($initialEnvironmentInfo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment