[kronolith] Alarm message date format not localised

Chuck Hagenbuch chuck at horde.org
Wed May 3 07:40:28 PDT 2006


Quoting Clarke Brunt <clarke.brunt at viridis.net>:

> I'm afraid I'm getting beyond my own knowledge in trying to work out what is
> going on here. Could it be anything to do with the fact the the scheduler
> generating the Kronolith alarm emails runs as a cron job (which has just
> made me think - this is command line PHP, and probably nothing to do with
> Apache), so no user is logged into Horde to generate the alarms? When I _do_
> log into Horde, I select English (British) as my language on the login
> screen, but the scheduler won't know about selected languages. I see code in
> horde3/lib/Horde/NLS.php trying to determine the language from various
> places, and defaulting to en_US, but I don't know whether this code is
> invoked by the scheduler, or whether there would be any sensible place for
> it to get a language from. I see $nls['defaults']['language'] = ''; in
> horde3/config/nls.php. Perhaps this is the place to put en_GB, though this
> then appears to take preference over HTTP_ACCEPT_LANGUAGE?

Have you gone into your user preferences and selected English (British) there?

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the kronolith mailing list