1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 00:27:45 +02:00

PHP8 class cleanup

This commit is contained in:
Cameron
2021-01-06 11:52:29 -08:00
parent 5404cf2dfc
commit ac9c19bae9
5 changed files with 40 additions and 9 deletions

View File

@@ -140,6 +140,8 @@ class e_date
*/
function convert_date($datestamp, $mask = '')
{
$datestamp = (int) $datestamp;
if(empty($mask))
{
$mask = 'long';