-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to change date on banners #3
Comments
ko tái hiện được |
Individual banner Invalid date format selection for start date and end date in admin For solve this issue need some changes in class Magestore_Bannerslider_Block_Adminhtml_Banner_Edit_Tab_Form Add function private function escDates() {
add $this->escDates() instead of "Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT)" |
This isn't a very solid fix. If magento is set to a non-US time-zone, then the bannerslider controller should switch to a valid dmy separator, i.e. dash or period.
|
Bump. I'm also experiencing the same issue. The JS date picker outputs in UK format DD/MM/YYYY and saving causes the date to be set to unix epoch (1st January 1970). I'm getting around this by manually typing in a US date (MM/DD/YYYY). |
krishana's solution work for me, thanks |
Lỗi xảy ra khi định dạng format kiểu dd/mm/yyyy go to this file /app/code/community/Magestore/Bannerslider/controllers/Adminhtml/Bannerslider/BannerController.php - saveAction() funtion add this codes: before: try { |
https://magestore.zendesk.com/agent/tickets/10633
Incident #10633.zip
The text was updated successfully, but these errors were encountered: