Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
locales con PHP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
gcediel
n00b
n00b


Joined: 27 Jul 2004
Posts: 21
Location: Madrid, Spain

PostPosted: Tue Jan 11, 2005 12:36 pm    Post subject: locales con PHP Reply with quote

¿Hay alguna forma de que la función date() de PHP muestre los resultados en español?

Es decir, en lugar de

Quote:
Tue, 11 Jan 2005


que muestre

Quote:
Mar, 11 Ene 2005


la salida de locale en mi sistema es la siguiente:

Quote:

LANG=es_ES@euro
LC_CTYPE="es_ES@euro"
LC_NUMERIC="es_ES@euro"
LC_TIME="es_ES@euro"
LC_COLLATE="es_ES@euro"
LC_MONETARY="es_ES@euro"
LC_MESSAGES="es_ES@euro"
LC_PAPER="es_ES@euro"
LC_NAME="es_ES@euro"
LC_ADDRESS="es_ES@euro"
LC_TELEPHONE="es_ES@euro"
LC_MEASUREMENT="es_ES@euro"
LC_IDENTIFICATION="es_ES@euro"
LC_ALL=es_ES@euro


Gracias.
_________________
Best regards.

Guillermo
Back to top
View user's profile Send private message
nohuman
Apprentice
Apprentice


Joined: 14 Jun 2003
Posts: 160
Location: Valencia

PostPosted: Sun Jan 16, 2005 5:57 pm    Post subject: Reply with quote

Hi!
Mirate http://es.php.net/manual/en/function.strftime.php

y el resto del manual

Saludos
Back to top
View user's profile Send private message
xlony
n00b
n00b


Joined: 05 Jan 2005
Posts: 16
Location: Puertollano, Ciudad Real, España

PostPosted: Sun Jan 16, 2005 6:16 pm    Post subject: Reply with quote

si no recuerdo mal en el php.ini había algo de eso, pero como dice gcediel, mirate la help de strftime
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum