Jim
October 19, 2015, 2:38pm
1
Suite du sujet PB with timezone in the dashboard and disk usage :
Yesterday I had the opportunity to deploy one more Nethserver instance.
On the fresh installation, when going in the Disk usage… The showing time was in localtime, was ok.
After, clicking on the update buton… The time was in UTC, was wrong. It’s in the code behind the update buton that there’s a divergence between localtime, timezone and UTC…
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
giacomo
(Giacomo Sanchietti)
October 19, 2015, 2:59pm
2
@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
Jim
October 19, 2015, 3:41pm
4
No the time in the Dashboard is correct:
But the time displayed in the Disk Usage after clicking on the update buton isn’t:
giacomo
(Giacomo Sanchietti)
October 19, 2015, 3:42pm
5
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
Nas
(Artem Fedai)
October 19, 2015, 9:17pm
7
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”
Nas
(Artem Fedai)
October 19, 2015, 9:19pm
8
So problem is in ./NethServer/Js/d3.v3.min.js : where all .getUTC method are described