Post by boraz » Sun Sep 21, 2008 7:43 pm

Can anyone tell me where is this var used?

Code: Select all

$_['locale']                = 'de_DE.UTF-8,de_DE,german';
It doesn't affect dates (month name) so what's the idea of it?
There's a bug with dates and it's already mentioned somewhere on forum.

Code: Select all

date_added' => date($language->get('date_format_short'), strtotime($result['date_added'])),

should be changed to:

Code: Select all

date_added' => strftime($language->get('date_format_short'), strtotime($result['date_added'])),
and in english.php changed

Code: Select all

$_['date_format_short']     = 'j F Y';
to

Code: Select all

$_['date_format_short']     = '%d %B %Y';
However it still requires setlocale to work.
So i've included

Code: Select all

setlocale(LC_TIME,'de_DE.UTF8');
in account_history.php

Does setting $_['locale'] in language file change anything? Maybe someone has better fix for that?

Newbie

Posts

Joined
Tue Jul 29, 2008 5:37 am

Post by bruce » Wed Sep 24, 2008 2:34 pm

setting $_['locale'] would appear to be unused.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 1 guest