http://www.oxwall.org/store/item/44 ? As we can't reproduce this issue on 1.6 on our test websites as well as on demo.
Also, can you please disable watchdog plugin and try plugin events again, whether the issue persist.
Edit:
Okay, I just fixed it. Had to rewrite a few lines in formatSimpleDate() to be cross platform compatible.
1 ) Go to root/ow_utilities/date_time.php and search for "function formatSimpleDate".
2 ) In this function, you need to make the changes specified below.
3 ) ??????????
4 ) Profit!
Works on Windows as well as Linux.
Replace:
if ( $onlyDate )
{
return ( date('y', $timeStamp) === date('y', time()) ) ?
$month . strftime(" %e", $timeStamp) :
$month . strftime(" %e '%y", $timeStamp);
}
return ( date('y', $timeStamp) === date('y', time()) ) ?
$month . ( $militaryTime ? strftime(" %e, %H:%M", $timeStamp) : strftime(" %e, %I:%M%p", $timeStamp) ) :
$month . ( $militaryTime ? strftime(" %e '%y, %H:%M", $timeStamp) : strftime(" %e '%y, %I:%M%p", $timeStamp) );
With:
if ( $onlyDate ) {
$sDateTimeFormat = ( date('y', $timeStamp) === date('y', time()) ) ? " %e" : " %e '%y";
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
$sDateTimeFormat = preg_replace('#(?<!%)((?:%%)*)%e#', '\1%#d', $sDateTimeFormat);
}
return $month . strftime($sDateTimeFormat, $timeStamp);
}
$sDateTimeFormat = ( date('y', $timeStamp) === date('y', time()) ) ?
( $militaryTime ? " %e, %H:%M" : " %e, %I:%M%p" ) :
( $militaryTime ? " %e '%y, %H:%M" : " %e '%y, %I:%M%p" );
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
$sDateTimeFormat = preg_replace('#(?<!%)((?:%%)*)%e#', '\1%#d', $sDateTimeFormat);
}
return $month . strftime($sDateTimeFormat, $timeStamp);