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.

1

1 Answer 1

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());

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.