0

The date in customer view grid is invalid. it switches month with date and displays vice versa e.g, a user who registered on Jan 12, 2016 10:58:25 AM is displayed as Dec 1, 2016 11:44:37 AM as create date.

saravanavelu
  • 3,941
  • 23
  • 35
  • 51
Harshada Chavan
  • 160
  • 1
  • 9
  • Check the answer of this post: http://magento.stackexchange.com/questions/18062/customer-created-at-date-off-by-months – Jayesh Patel Jan 13 '16 at 13:03

1 Answers1

0

I tried different answers from this forum and other forums as well. This has been resolved. I created the Create.php file in local custom module and commented out the below code altogether. the utcDate function was creating the issue. even if everything was perfectly set

 $zendDate = Mage::app()->getLocale()->utcDate(null, $date, true);
 $object->setData($attributeCode, $zendDate->getIso());
Harshada Chavan
  • 160
  • 1
  • 9