strftime() DEPRECATED in php8.1+
clamattu opened this issue · comments
Claudio Mattutino commented
Line 42 in dbad068
Got error 'PHP message: PHP Deprecated: Function strftime() is deprecated in ///lang/it_it.php on line 42', referer: https:///librebooking/Web/index.php
Claudio Mattutino commented
I solved in this way
$dates['calendar_dates'] = 'd '.(preg_replace('/(.)(.)(.)/i', '\$1\$2\$3', date("M")));