10
My code:
setlocale(LC_TIME, 'ca_ES');
echo strftime("%#d %B", strtotime($ticket->date_created));
outputs something like:
28 August
instead of my expectation:
28 Agost
I expect "Agost" because that is Catalan language (set through setlocale()).
Is this how setlocale and strftime is supposed to work?
FYI: My local development machine is Windows 7, set to locale: en-PH