Support the ongoing development of Laravel.io →
Input Forms Validation
Last updated 2 years ago.
0

Anybody? No replies?

Last updated 2 years ago.
0

I dont understand your question.
but I use
begin of routes.php

setlocale(LC_ALL, "es_ES.UTF-8");  

and in views:

{{ ucwords(strftime("%A, %d %B %Y - %H:%M",strtotime($comentario->created_at))) }}
Last updated 2 years ago.
0

I think it also depends of your system locale (linux)

javi@desarrollo:/var/www/laravel$ locale
LANG=es_ES.UTF-8
LANGUAGE=
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=
javi@desarrollo:/var/www/laravel$
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

pipikopter pipikopter Joined 11 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.