Now local parties that uses non Gregorian calendars like hegira calendar must HACK all core/modules that uses this php function like newbb/polls.php xoopspoll and ...
Please add this function to class/xoopslocal.php like below:
[code]
class XoopsLocalAbstract
{
/**
function strtotime($datestr) { /* here return the datestr to datenum */ }
[/code]
I just find this code in joomla:
function date_strtotime($date)
{
$strtotime = strtotime($date);
if ($strtotime === -1 || $strtotime === false)
{
return false;
}
else
{
return $strtotime;
}
}
Im not a coder. what is your idea as a developer?
please read more and discuss here:
http://xoops.org/modules/newbb/viewtopic.php?post_id=347672#forumpost347672
i changed the priority to a higher number.