From: SourceForge.net <no...@so...> - 2012-08-09 04:43:17
|
Feature Requests item #3537303, was opened at 2012-06-22 22:26 Message generated for change (Comment added) made by irmtfan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3537303&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: XOOPS 2.6 Status: Open Resolution: None >Priority: 7 Private: No Submitted By: irmtfan (irmtfan) Assigned to: Nobody/Anonymous (nobody) Summary: localization: add "strtotime" function to xoopslocal class Initial Comment: 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] ---------------------------------------------------------------------- >Comment By: irmtfan (irmtfan) Date: 2012-08-08 21:43 Message: 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. ---------------------------------------------------------------------- Comment By: irmtfan (irmtfan) Date: 2012-06-23 00:09 Message: 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? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430843&aid=3537303&group_id=41586 |