Event time format in feed view

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

Event time format in feed view

Post by TDD » Tue Sep 18, 2018 2:17 pm

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: 98
Joined: Thu Jan 01, 2015 5:12 pm

Re: Event time format in feed view

Post by DVB Hardware » Tue Sep 18, 2018 7:39 pm

I would like to be able to change the format also, I hate reading backwards
Linux Mint 19.2 Cinnamon Mariadb StorageAreas

DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier

TDD
Posts: 3
Joined: Tue Sep 18, 2018 2:10 pm

Re: Event time format in feed view

Post by TDD » Wed Sep 19, 2018 9:21 am

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: 98
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: Event time format in feed view

Post by zd59 » Thu Dec 20, 2018 11:01 am

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 735 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 735 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 735 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

Who is online

Users browsing this forum: No registered users and 2 guests