/** * Return escaped value for calendar * * @param string $index * @return string */ public function getEscapedValue($index = null) { if ($this->getColumn()->getFilterTime()) { $value = $this->getValue($index); if ($value instanceof Zend_Date) { return $value->toString($this->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT)); } return $value; } return parent::getEscapedValue($index); }