Page 1 of 1

Event time format in feed view

Posted: Tue Sep 18, 2018 2:17 pm
by TDD
Hi anyone!
I'm trying to change the time format of the events on the feed view. This one to be clear:
https://imgur.com/KlKt1om

I've added in my language file this settings, but the format doesn't change :cry:

Code: Select all

setlocale(LC_ALL, "it_IT.UTF-8");
define("DATE_FMT_CONSOLE_LONG", "D j M, G:i");
define("DATE_FMT_CONSOLE_SHORT", "%H:%M");
define("STRF_FMT_DATETIME", "%c");
define("STRF_FMT_DATE", "%x");
define("STRF_FMT_TIME", "%X");
define("STRF_FMT_DATETIME_SHORT", "%d/%m/%y %H:%M:%S");
define("STRF_FMT_DATETIME_SHORTER", "%d/%m %H:%M:%S");
Can anyone help me?
Thanks!

Re: Event time format in feed view

Posted: Tue Sep 18, 2018 7:39 pm
by DVB Hardware
I would like to be able to change the format also, I hate reading backwards

Re: Event time format in feed view

Posted: Wed Sep 19, 2018 9:21 am
by TDD
DVB Hardware wrote: Tue Sep 18, 2018 7:39 pm I would like to be able to change the format also, I hate reading backwards
Exactly, my own reason too :D

Re: Event time format in feed view

Posted: Thu Dec 20, 2018 11:01 am
by zd59
This cosmetic issue had a very long history (probably from ZM version 0.0.1).
But for no american users it is VERY annoying. :cry: :cry:
I'm European and correct date format is 20.12.2018 for today
But nobody pay attention and try to solve it by adding a variable Date_format in a zoneminder configuration file. This variable must be used in all scripts.
On my two years working ZM-1.30.0 and new designed GUI in ZM-1.32.3 and also current GIT the date display is the same.

1. I can configure the date display only in monitor settings for a date display on live/recorded video
ZM - live.png
ZM - live.png (67.71 KiB) Viewed 3156 times
this is correct date format

2. ZM events listing: the date is in a form of m/d (today 12/18) - no way to change
ZM - Events - date.png
ZM - Events - date.png (4.01 KiB) Viewed 3156 times

3. ZM system log: : the date is in a form of yyyy-m-d (today 2018-12-20) - no way to change
ZM - System Log - date.png
ZM - System Log - date.png (3.48 KiB) Viewed 3156 times

So zm express date in three different formats, the last two as fixed programmed by developer.

Kindly please the GUI developer(s) in a name of majority users worldwide, to provide a decent way of "one place for all" date format setting.