- Posts: 142
- Thank you received: 3
Discount option
- ePower2007
-
Topic Author
- Offline
Less
More
13 years 9 months ago #80131
by ePower2007
Discount option was created by ePower2007
Hi
When entering the start date and finish date, and pushing save or apply, then the time is changing. somehow it is not possible to set the time and keep it. it does always goes forward and if pushing several times apply, then even the date will change.
please see the print screens I made for this.
After saving or pushing apply the time changes!
Is there a explanation for this behavior?
How can this be fixed?
Best regards
Raphael
When entering the start date and finish date, and pushing save or apply, then the time is changing. somehow it is not possible to set the time and keep it. it does always goes forward and if pushing several times apply, then even the date will change.
please see the print screens I made for this.
After saving or pushing apply the time changes!
Is there a explanation for this behavior?
How can this be fixed?
Best regards
Raphael
Please Log in or Create an account to join the conversation.
13 years 9 months ago #80202
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Discount option
Hi,
Please re-download HikaShop 2.0 to fix this problem.
Otherwise, you can edit the HikaShop helper file and update the function hikashop_getDate by
Regards,
Please re-download HikaShop 2.0 to fix this problem.
Otherwise, you can edit the HikaShop helper file and update the function hikashop_getDate by
Code:
function hikashop_getDate($time = 0,$format = '%d %B %Y %H:%M'){
if(empty($time))
return '';
if(is_numeric($format))
$format = JText::_('DATE_FORMAT_LC'.$format);
if(HIKASHOP_J16){
$format = str_replace(array('%A','%d','%B','%m','%Y','%y','%H','%M','%S','%a'),array('l','d','F','m','Y','y','H','i','s','D'),$format);
return JHTML::_('date',$time,$format,false);
}
static $timeoffset = null;
if($timeoffset === null) {
$config = JFactory::getConfig();
$timeoffset = $config->getValue('config.offset');
}
return JHTML::_('date',$time- date('Z'),$format,$timeoffset);
}
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.157 seconds