Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 04:57 am EDT

Geeklog Forums

Date


Shift

Anonymous
In config.php these are my settings for date and time

Text Formatted Code
$_CONF['language']  = 'italian';
$_CONF['locale']    = 'it-it';
$_CONF['date']      = '%A, %B %d %Y @ %I:%M %p %Z';
$_CONF['daytime']   = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly']  = '%d-%b';
$_CONF['timeonly']  = '%I:%M %p %Z';
$_CONF['default_charset'] = 'iso-8859-1';
$_CONF['rdf_language']    = 'en-gb'; // may have to be different than the locale
 


but, as anonymous, I see the date of each article as Tuesday, November 25 2003 @ 09:05 PM CET instead I wish to appear to all the unregistered users as 25-11-2003 21:05.

Since I'm not proficient in modifying the date settings in config.php, anyone could help?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The locale for Italy (on a Unix system) should be

$_CONF['locale'] = 'it_IT';

The other options are explained in the documentation.

bye, Dirk
 Quote

Shift

Anonymous
You're the best Wink
 Quote

All times are EDT. The time is now 04:57 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