Locale for UK

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
chilsta
Forum Members
Forum Members
Posts: 52
Joined: Thu Oct 20, 2005 8:22 pm

Locale for UK

Post by chilsta »

Through trial and error I discovered the correct code for the locale setting in config.php for the UK. This corrects the date format in the News Module without having to resort to a custom format in the News Module's options.

$config['locale'] = 'en_GB';

Some keywords for others that may be searching for this:
strftime
england
great britain
gb
date format
crankshaft
Forum Members
Forum Members
Posts: 57
Joined: Sun Mar 25, 2007 7:42 am

Re: Locale for UK

Post by crankshaft »

Mee too - chaged to 'en_GB' but it still shows US Format !

Any ideas ????

Crankshaft
cyberman

Re: Locale for UK

Post by cyberman »

Please make a look at help - there exists a parameter to configure date output.
crankshaft
Forum Members
Forum Members
Posts: 57
Joined: Sun Mar 25, 2007 7:42 am

Re: Locale for UK

Post by crankshaft »

OK, it does work, the changes I made were not save due to security rights.

Crankshaft
Post Reply

Return to “CMSMS Core”