Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 12:51 am EST
Geeklog Forums
Problems with LOCALE
Hi,
Im having problems with locale in config.php, this is the date/time that shows up in my page:
when actually it should say:
miercoles 03, septiembre 2003 @ 01:30
as you see, its 3 hours delayed.... and i dont know how to change that.
also, i dont know what the CDT thing is, we dont have changes in our time, i mean, we dont have summer hour and those things, neither east or west.
My config.php locale settings
// +---------------------------------------------------------------------------+
// | LOCALE SETTINGS |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'spanish';
$_CONF['locale'] = 'es_AR';
$_CONF['date'] = '%A %d, %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%d/%m %H:%M';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%H:%M %Z';
$_CONF['default_charset'] = 'ISO-8859-1';
$_CONF['rdf_language'] = 'es_AR'; // may have to be different than the locale
//-----------------------------------------------
I tryed leaving it blank, but the server where the page is hosted is in USA and i think it takes the locale setting from it, so that doesnt work.
please help!!
"this bussiness is binary, you are a 1 or a 0, alive... or death"
Im having problems with locale in config.php, this is the date/time that shows up in my page:
Text Formatted Code
martes 02, septiembre 2003 @ 22:26 CDTwhen actually it should say:
miercoles 03, septiembre 2003 @ 01:30
as you see, its 3 hours delayed.... and i dont know how to change that.
also, i dont know what the CDT thing is, we dont have changes in our time, i mean, we dont have summer hour and those things, neither east or west.
My config.php locale settings
// +---------------------------------------------------------------------------+
// | LOCALE SETTINGS |
// +---------------------------------------------------------------------------+
$_CONF['language'] = 'spanish';
$_CONF['locale'] = 'es_AR';
$_CONF['date'] = '%A %d, %B %Y @ %H:%M %Z';
$_CONF['daytime'] = '%d/%m %H:%M';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%H:%M %Z';
$_CONF['default_charset'] = 'ISO-8859-1';
$_CONF['rdf_language'] = 'es_AR'; // may have to be different than the locale
//-----------------------------------------------
I tryed leaving it blank, but the server where the page is hosted is in USA and i think it takes the locale setting from it, so that doesnt work.
please help!!
"this bussiness is binary, you are a 1 or a 0, alive... or death"
9
7
Quote
All times are EST. The time is now 12:51 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content