Replace strftime (obsolete in PHP 8.1) by date
I didn't dig very deep to see side effects
This commit is contained in:
parent
ff5e345e58
commit
513e79d268
1 changed files with 1 additions and 1 deletions
|
@ -1524,7 +1524,7 @@ class Pico
|
|||
$encodingList[] = 'Windows-1252';
|
||||
}
|
||||
|
||||
$rawFormattedDate = strftime($this->getConfig('date_format'), $meta['time']);
|
||||
$rawFormattedDate = date($this->getConfig('date_format'), $meta['time']);
|
||||
$meta['date_formatted'] = mb_convert_encoding($rawFormattedDate, 'UTF-8', $encodingList);
|
||||
} else {
|
||||
$meta['date_formatted'] = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue