11
Yep, but this is a total hack and nothing more. Temp fix k?
Open xoopsRoot/include/functions.php
and look for this function:
function formatTimestamp($time, $format = 'l', $timeoffset = '')
{
xoops_load('XoopsLocal');
return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
}
and change it to the following:
function formatTimestamp($time, $format = 'l', $timeoffset = '')
{
xoops_load('XoopsLocal');
$format = 'date format you wish to use';
return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
}
This will basically over ride all modules that use this function.
Now for all modules that misbehave, just look for the date() function and replace it with the one above.
example:
date( $time );
To:
formatTimestamp( $time );
Some actually might use their own formatTimestamp function, so it migh be good to look for a variant of this.
Hope this helps.
Catz