Webmastersite.net
Register Log In

using setlocale() php function
to specify the language of the date format

Comments on using setlocale() php function

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Aug 30, 2007 - 9:41 PM:

Paul,

I would like to suggest the possibility of selecting the language we whant the date formats to be presented. Date formats are explained at the manual scripts.webmastersite.net/w...stom-date-formats-323.html but would be interesting to incorporate a simmilar to the setlocale() php function in order to give the corresponding format of the specified country.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 02, 2007 - 3:06 PM:

setlocale is already used extensively.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Sep 18, 2007 - 8:54 AM:

Just to report that for spanish language{LANG_DATEFORMAT_LOCALE} setttled to 'spanish' works working correctly. The default is settled as 'español' and I do not find it working.

Also at my local pc instalation, php ver 5.1.4 and MySql 5.0.21 it's working correctly.
At my server installation that uses php 4.4.7 and MySql 4.1.22 I can not make it work.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.