D
D
Dimetriy2020-05-20 11:07:34
PHP
Dimetriy, 2020-05-20 11:07:34

Strftime %B began to display the month in the case, how to overcome it?

In PHP 7.4, the strftime('%B',time()) function suddenly began to write instead of May - May (in the case and with a small letter)

setlocale(LC_ALL, 'ru_RU.UTF-8);

How to overcome this disgrace?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question