[imp] Date format

Jan Schneider jan@horde.org
Wed, 24 Apr 2002 13:26:17 +0200


Zitat von Henry Blackman <h.blackman@chester.ac.uk>:

> I do have the en_GB locale on my system, and it does specify dates in
> the
> format DD/MM/YY, but if you look at the demo site with GB english it
> also
> shows the dates the wrong way around.  I've tried French on the demo
> site
> (demo.horde.org I mean), and Spanish on the demo site with two different
> IMAP servers one in the US, one in the UK and IMP always shows the date
> in
> the format MM/DD/YY which to anyone outside the USA is aware is pretty
> meaningless.

This does only mean that our demo server has the same issues.

> Have I done something wrong?  I've tried with both IE and with Mozilla
> (1.0
> RC1) just in case it was something with the browser but get the same
> result.
> Am I right in thinking that selecting a different language either from
> the
> login page, or from the options will automatically change the date
> format
> without any other setting being involved?

The locales are set in lib/Lang.php in the function Lang::setLang(). 
Perhaps you can do some debugging there to see what happens. Try setting 
the different locales (LC_TIME et al) instead of LC_ALL.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft