-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Magmodules
committed
Apr 24, 2017
1 parent
2158953
commit c74ffa0
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
app/code/community/Magmodules/Fadello/Block/Adminhtml/System/Config/Form/Field/Datetime.php
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/** | ||
* Magmodules.eu - http://www.magmodules.eu | ||
* | ||
* NOTICE OF LICENSE | ||
* This source file is subject to the Open Software License (OSL 3.0) | ||
* that is bundled with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://opensource.org/licenses/osl-3.0.php | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* @category Magmodules | ||
* @package Magmodules_Fadello | ||
* @author Magmodules <[email protected]> | ||
* @copyright Copyright (c) 2017 (http://www.magmodules.eu) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
class Magmodules_Fadello_Block_Adminhtml_System_Config_Form_Field_Datetime | ||
extends Mage_Adminhtml_Block_System_Config_Form_Field | ||
{ | ||
|
||
/** | ||
* @param Varien_Data_Form_Element_Abstract $element | ||
* | ||
* @return mixed | ||
*/ | ||
public function _getElementHtml(Varien_Data_Form_Element_Abstract $element) | ||
{ | ||
return Mage::getModel('core/date')->date('Y-m-d H:i:s'); | ||
} | ||
|
||
} |