diff --git a/src/app/code/community/FireGento/Logger/Block/Adminhtml/Logger/Grid.php b/src/app/code/community/FireGento/Logger/Block/Adminhtml/Logger/Grid.php index 04627fd3..568bacdd 100644 --- a/src/app/code/community/FireGento/Logger/Block/Adminhtml/Logger/Grid.php +++ b/src/app/code/community/FireGento/Logger/Block/Adminhtml/Logger/Grid.php @@ -87,6 +87,7 @@ protected function _prepareColumns() $this->addColumn('timestamp', array( 'header' => Mage::helper('firegento_logger')->__('Timestamp'), + 'type' => 'datetime', 'align' => 'left', 'index' => 'timestamp', )); diff --git a/src/app/code/community/FireGento/Logger/Model/Db.php b/src/app/code/community/FireGento/Logger/Model/Db.php index e331b5cf..ea5f5d64 100644 --- a/src/app/code/community/FireGento/Logger/Model/Db.php +++ b/src/app/code/community/FireGento/Logger/Model/Db.php @@ -105,6 +105,7 @@ protected function _write($event) $dataToInsert['advanced_info'] = $this->getAdvancedInfo($event); } + $dataToInsert['timestamp'] = Mage::getSingleton('core/date')->gmtDate(); $this->_db->insert($this->_table, $dataToInsert); /** @var Varien_Db_Adapter_Pdo_Mysql $db */