Open gino2014 opened 9 years ago
Hey Gino,
If you enter the date and time manually, will it be fixed? Just trying to isolate whether it's the datepicker issue or other things.
I'm aware of different backend date behavior in 1.8 and 1.9 too so I'll be checking that shortly.
Hi Alvinnguyen, thanks for fast answering. but also by entering date and time manually i got no result. But what do you mean with different behavior in 1.8 and 1.9? We are also using magento 1.9.0.1. best rgards Gino
Hi both,
We have modified the following file to make it work in Europe:
app/code/community/WeCode/PromotionSchedule/controllers/Adminhtml/Promotionschedule/IndexController.php
Changing this:
$date = date_create_from_format('d/m/Y h:i A', $data['wecode_tasks_time']);
if (!$date){
$this->_getSession()->addError(Mage::helper('wecode_promotionschedule')->__('Error. Please ensure date is correctly entered (e.g. 03:00 PM, not 15:00 PM)'));
by this:
$date = date_create_from_format('d/m/Y H:i', $data['wecode_tasks_time']);
if (!$date){
$this->_getSession()->addError(Mage::helper('wecode_promotionschedule')->__('Error. Please ensure date is correctly entered (e.g. 6/7/2017 17:27)'));
I hope this helps someone with the same problem.
Hi, i tried your extension but i got this error massage. "Error. Please ensure date is correctly entered (e.g. 03:00 PM, not 15:00 PM)" Using Magento 1.9.0.1 with european time options. we do not have am and pm. Also it is difficult to click at the hours and minutes. the fields are moving if you trie to edit it. maybe is this a result of the error massage.
Best regrads Gino