You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added locale support on php:7.4-fpm-alpine, following this guide
It seems to works as expected if i run date on the command line:
$: locale
LANG=
LC_CTYPE=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_COLLATE=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
$: date
Sab Mar 27 11:03:21 UTC 2021
But if I run thru php it shows dates in default locale:
I've added locale support on
php:7.4-fpm-alpine
, following this guideIt seems to works as expected if i run
date
on the command line:But if I run thru php it shows dates in default locale:
$: php -r "setlocale(LC_ALL, 'it_IT.UTF-8'); echo date('r');" Sat, 27 Mar 2021 11:04:56 +0000
Do I miss any steps from the setup?
The text was updated successfully, but these errors were encountered: