Event time format in feed view

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
TDD
Posts: 4
Joined: Tue Sep 18, 2018 2:10 pm

Event time format in feed view

Post 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!
DVB Hardware
Posts: 201
Joined: Thu Jan 01, 2015 5:12 pm
Location: Rhode Island

Re: Event time format in feed view

Post by DVB Hardware »

I would like to be able to change the format also, I hate reading backwards
Linux Mint 21 Cinnamon Mariadb 10.6.x using Master 1.37.x latest always

DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
TDD
Posts: 4
Joined: Tue Sep 18, 2018 2:10 pm

Re: Event time format in feed view

Post 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
User avatar
zd59
Posts: 102
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: Event time format in feed view

Post 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 2697 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 2697 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 2697 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.
Post Reply