Solved

impossible to change the date and time format


Userlevel 1
Badge +4

Hello,

I recently updated my centreon to 21.10, I have a problem with the time and date format, it remains in 12H format and the date MM/DD/YYYY

 

Thank you in advance for your help

Kélian

icon

Best answer by sims24 17 March 2022, 15:49

View original

18 replies

Userlevel 4
Badge +10

Hello Kélian,

Yes indeed, date format is set together with UI language and as of now, there is no possibility to set those separately. If you turn your language to English/US then you’ll have US date format.

We have plan to change this behavior, as this has been raised and quite voted in our idea section

Best,

Nils

Userlevel 1
Badge +4

Hello @Nils,

 

My ui language is set on fr_FR, so normally I should have the display in 24h no? and same for the date DD/MM/YYYY ?

 

Kélian

Userlevel 4
Badge +10

Hello @Kélian ,

 

Weird actually, are you sure you are configured in french? 

 

Userlevel 1
Badge +4

yes : 

(i have delete my information before the screen)

Userlevel 1
Badge +4

Hello @Nils,

do you have any idea pls ?

Kélian

Userlevel 6
Badge +19

Hello @Kélian 

 

What’s your centreon version please ? Could you share the result of

 

rpm -qa | grep centreon-web 

 

Thanks

Userlevel 1
Badge +4

Hello @sims24,

[user@server ~]$ rpm -qa | grep centreon-web
centreon-web-21.10.4-7.el7.centos.noarch
[user@server ~]$
 

Kélian

Userlevel 6
Badge +19

Thanks, this is a bug indeed, I reproduced it with the same version. 

 

I track this on our side and we will keep you posted about it. 

Userlevel 1
Badge +4

Thank you @sims24 

Userlevel 1
Badge +4

Hello @sims24,

 

Do you have solved this issue ?

 

Kélian

Userlevel 6
Badge +19

Hi @Kélian 

 

Yes, should be ok with centreon-web 21.10.6

 

Userlevel 1
Badge +4

Hi @sims24

 

Thank you for you answer. 😉

 

Kélian

 

Badge +3

It's still doesn't work at the 21.10.11 version.

The 24 hours clock is only available at French translation.
 

 

Userlevel 2
Badge +11

idem for 22.10.7

Userlevel 5
Badge +17

Just to make it clear because this is a long thread: as @Nils said there is an idea open to allow to configure time format independant of the UI language.

The current behaviour for the clock in the upper right banner is en_US with 12 hour (and AM/PM mention) and all other languages with 24 hours.

Is anyone seeing something different?

Badge +1

Hi,

with version 23.04.9 the timeformat is always 12h, indendent the configured language / timezone

 

Userlevel 5
Badge +17

Hmmm. seems like a miss on the German as for French, Spanish, Portuguese it is 24h. Let me check this.

Userlevel 5
Badge +17

OK, best is to vote for 

which is in the backlog and should be prioritised as there are many places where dates are displayed and some inconsistencies. So best would be to let users choose their format regardless of their language and correctly apply their choice everywhere a date is displayed.

Reply