Page 1 of 1

Date & Time in logs?

Posted: Thu Jan 24, 2008 10:54 am
by hvisser
What determines the way the date & time is displayed in the logs (/tmp/zmfilter.log, etc)?

Mandriva 2008.0 Free. Installed 1.23.0 from RPM, then upgraded to 1.23.1 by compiling from source.

Before upgrade date was displayed in the logs as dd/mm/yyyy (UK/GB format), now since upgrade it is displayed as mm/dd/yyyy (US format)

I checked options in ZM and ZM_LANG_DEFAULT is set to "en_gb"

Posted: Thu Jan 24, 2008 9:55 pm
by zoneminder
That is very curious. It is the same on my box.

The date format is strftime %x which should adopt a format appropriate to the locale but even though my locale is en_GB is still does the US style.

Nothing has changed in the debug files for about two years so I confess I don't know what it is. I will have to investigate further.