1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

PHP 8.1 fixes.

This commit is contained in:
Cameron
2021-11-25 10:18:53 -08:00
parent 98b8955185
commit 9d6a9611e2
17 changed files with 110 additions and 88 deletions

View File

@@ -727,14 +727,14 @@ class listclass
if($thisday == $current_day)
{
$datepreftoday = $this->list_pref[$this->mode."_datestyletoday"];
return strftime($datepreftoday, $datestamp);
return eShims::strftime($datepreftoday, $datestamp);
}
}
}
//else use default date style
$datepref = $this->list_pref[$this->mode."_datestyle"];
return strftime($datepref, $datestamp);
return eShims::strftime($datepref, $datestamp);
}
/**