Good idea, it just does not work, $Sticky seems to have no value at that time. I placed the hack further down, below:
code:
// ----------------------------------------------------------
// If this post is sticky then we need to use the sticky date
if ($Sticky) {
$time = $html -> convert_time($Sticky,$user['U_TimeOffset']);
} else {
if ($view != "expanded") {
$time = $html -> convert_time($Last_Post,$user['U_TimeOffset']);
}
else {
$time = $html -> convert_time($Posted,$user['U_TimeOffset']);
}
}
and now it works here.