Date & Time in logs?

Support and queries relating to all previous versions of ZoneMinder
Locked
hvisser
Posts: 14
Joined: Thu Jan 17, 2008 8:32 pm

Date & Time in logs?

Post 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"
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Locked