Skip to content

Commit 699d5ac

Browse files
authored
Fixed monthly sales reports (date was 1970) (#3126)
1 parent 0647cde commit 699d5ac

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer

1 file changed

+1
-1
lines changed

app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function render(Varien_Object $row)
8989
try {
9090
$data = ($this->getColumn()->getGmtoffset())
9191
? Mage::app()->getLocale()->date($data, $dateFormat)->toString($format)
92-
: Mage::getSingleton('core/locale')->date($data, Zend_Date::ISO_8601, null, false)->toString($format);
92+
: Mage::getSingleton('core/locale')->date($data, $dateFormat, null, false)->toString($format);
9393
} catch (Exception $e) {
9494
$data = ($this->getColumn()->getTimezone())
9595
? Mage::app()->getLocale()->date($data, $dateFormat)->toString($format)

0 commit comments

Comments
 (0)