- Posts: 3
- Thank you received: 0
Badge edit Date error message
11 years 11 months ago #177680
by support
Badge edit Date error message was created by support
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.5
-- PHP version -- : 5.3.28
-- Error-message(debug-mod must be tuned on) -- : 0 DateTime::__construct() [datetime.--construct]: Failed to parse time string (27 octobre 2014 12:43) at position 6 (o): The timezone could not be found in the database
I get this error message in the admin backend when trying to edit a Badge but only when the admin user is using the backend in french? When the user is working in english, it works fine.
0 DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (27 octobre 2014 12:43) at position 6 (o): The timezone could not be found in the database
-- Joomla version -- : 3.3.5
-- PHP version -- : 5.3.28
-- Error-message(debug-mod must be tuned on) -- : 0 DateTime::__construct() [datetime.--construct]: Failed to parse time string (27 octobre 2014 12:43) at position 6 (o): The timezone could not be found in the database
I get this error message in the admin backend when trying to edit a Badge but only when the admin user is using the backend in french? When the user is working in english, it works fine.
0 DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (27 octobre 2014 12:43) at position 6 (o): The timezone could not be found in the database
Please Log in or Create an account to join the conversation.
11 years 11 months ago #177683
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Badge edit Date error message
Hi,
Please edit the file "administrator/components/com_hikashop/views/badge/tmpl/form.php" and replace
By
And also
By
Regards,
Please edit the file "administrator/components/com_hikashop/views/badge/tmpl/form.php" and replace
Code:
<?php echo JHTML::_('calendar', (@$this->element->badge_start?hikashop_getDate(@$this->element->badge_start,'%d %B %Y %H:%M'):''), 'data[badge][badge_start]','badge_start','%Y-%m-%d %H:%M',array('size'=>'20')); ?>
Code:
<?php echo JHTML::_('calendar', (@$this->element->badge_start?hikashop_getDate(@$this->element->badge_start,'%Y-%m-%d %H:%M'):''), 'data[badge][badge_start]','badge_start','%Y-%m-%d %H:%M',array('size'=>'20')); ?>
And also
Code:
<?php echo JHTML::_('calendar', (@$this->element->badge_end?hikashop_getDate(@$this->element->badge_end,'%d %B %Y %H:%M'):''), 'data[badge][badge_end]','badge_end','%Y-%m-%d %H:%M',array('size'=>'20')); ?>
Code:
<?php echo JHTML::_('calendar', (@$this->element->badge_end?hikashop_getDate(@$this->element->badge_end,'%Y-%m-%d %H:%M'):''), 'data[badge][badge_end]','badge_end','%Y-%m-%d %H:%M',array('size'=>'20')); ?>
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: support
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds