#1  
Old 23rd July 2006, 22:09
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Default Format Date in Spanish

How to configure the date in the server to view format in Spanish language ?.
setlocale no works fine in php.


Sample:
<?
setlocale(LC_ALL, 'esp');
echo strftime("%A %e %B %Y", mktime(0, 0, 0, 12, 22, 2006)) ;
?>
return = Friday 22 December 2006

I like = viernes diciembre 2006

This sample run O.K. in other server.


I have tested setlocale 'es_es.iso-8859-1' - 'es-ESP' - 'es_ES' - 'es-ES' - 'es_ES@euro' . but none works well

Some suggestion ?

(ISPConfig. 2.2.5, PHP 4.3.10.16, Apache2)

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 24th July 2006, 17:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Which date? Where? Maybe you can post a screenshot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quota format not supported in kernel oddo Installation/Configuration 9 14th March 2006 11:06
linux pop3 user login in format <forename>.<surname> starms Installation/Configuration 1 28th February 2006 19:51
Imap - Maildir format KenKnight Installation/Configuration 6 29th December 2005 12:19
Expire date for Sites, Customers and Resellers Prompt Feature Requests 3 12th November 2005 03:47
quota format not supported by file system bobway54 HOWTO-Related Questions 1 15th August 2005 11:55


All times are GMT +2. The time now is 06:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.