On Tue, Feb 26, 2008 at 10:21 PM, Eric Cooper <[EMAIL PROTECTED]> wrote: > On Tue, Feb 26, 2008 at 10:13:40PM +0100, Lars Lindner wrote: > > Please check your locale and set it to a real one if necessary. > > Here are my settings. Other locale-sensitive programs seem to work fine. > > $ locale > > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=
:-) So my assumption might be incorrect. Here is what the Evolution code documentation says: /** * Function to do a last minute fixup of the AM/PM stuff if the locale * and gettext haven't done it right. Most English speaking countries * except the USA use the 24 hour clock (UK, Australia etc). However * since they are English nobody bothers to write a language * translation (gettext) file. So the locale turns off the AM/PM, but * gettext does not turn on the 24 hour clock. Leaving a mess. * * This routine checks if AM/PM are defined in the locale, if not it * forces the use of the 24 hour clock. * * The function itself is a front end on strftime and takes exactly * the same arguments. * * TODO: Actually remove the '%p' from the fixed up string so that * there isn't a stray space. **/ So it actually doesn't depend on the en_US locale to be set, but for a time format translation to be active. But I might be wrong in this understanding. The implementation is so that it if there is no locale time format code definition %l will be replaced with %H. If you are interested in veryifying this I'd suggest setting a breakpoint with gdb in src/e-date.c:105 (should be "ffmt=g_strdup(fmt);"). If the breakpoint triggers you have no locale translation installed which causes the problem. Regards, Lars -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]