Timezone problem with the update buton on Disk Usage

Suite du sujet PB with timezone in the dashboard and disk usage:

With this server, I had test various fresh installations. Always the same result.

The Nethserver iwas at the “good” localtime in the good timezone, in the cli and in the dashborad.

The first time I went to the disk Usage module, the time was ok…It’s mean the time was in the good timezone, the same as the time in the Dashboard.

When clicking on the update red buton, after the littlwe windows “working”, the time is displayed with the UTC time zone in the diskusage module.
The time displayed in the Dashboard still displayed correctly.

1 Like

@edoardo_spadoni can you look into this and eventually open an issue?
Thanks!

It seems a bug in the time displayed in the Dashboard. Issue opened: http://dev.nethserver.org/issues/3284

1 Like

No the time in the Dashboard is correct:

But the time displayed in the Disk Usage after clicking on the update buton isn’t:

Can you check the opened bug? Feel free to comment there if it’s incorrect.

I mean in the Disk usage tab of the dashboard

First :

less /etc/php.ini
[PHP]

;
; 10base
;
short_open_tag = 0
expose_php = 0
max_execution_time = 30
memory_limit = 32M
post_max_size = 8M
upload_max_filesize = 2M
date.timezone = “Europe/Kiev”

Change to Next Time Zone :

less /etc/php.ini
[PHP]

;
; 10base
;
short_open_tag = 0
expose_php = 0
max_execution_time = 30
memory_limit = 32M
post_max_size = 8M
upload_max_filesize = 2M
date.timezone = “America/Belem”

So problem is in ./NethServer/Js/d3.v3.min.js: where all .getUTC method are described