QueueMetrics forum

Chat => Problems => Topic started by: sylwat on April 03, 2019, 19:31:57

Title: Clock Widget
Post by: sylwat on April 03, 2019, 19:31:57
Since the latest update (queuemetrics.noarch 19.04.1-605)  the clock widget does not synchronize with system time it is showing one (1) hour ahead of real time computer or asterisk server time. How do I fix or is this a bug?
Title: Re: Clock Widget
Post by: Itgigi (Loway) on April 08, 2019, 14:13:19
Hello,

The widget clock uses the system time. Change the system time or the timezone.

Usually the browser uses the system time, but in your case it looks like the browser is using it's own timezone.

To change the timezone for Chrome, install an addon that changes the timezone.

Best Regards,
Iacob
Title: Re: Clock Widget
Post by: sylwat on April 08, 2019, 14:17:50
Please note all three major browsers of Chrome, Firefox and Edge all have the same results. Using the same client to access QueueMetrics was working prior to upgrade, I doubt it is a browser issue.
Title: Re: Clock Widget
Post by: Itgigi (Loway) on April 11, 2019, 11:07:45
Hello,

I have spoken with the dev team and they confirmed that the clock widget has not been touched. It might be a coincidence.

Try accessing the wallboard with another computer on the same network.

It's odd, I agree with you, but there is no other explanation.

Best Regards,
Iacob

Title: Re: Clock Widget
Post by: sylwat on April 11, 2019, 16:10:25
I already verified this is happening from multiply computers on the same and other networks. At first I suspected that the upgrade must've been corrupted or the server itself has something to do with it however to satisfy my curiosity I installed QueueMetrics on a totally independent server running the same version of Asterisk and FreePBX and it displays the same issue. What are the chances of coincidence this happening to two separate installs?
Title: Re: Clock Widget
Post by: sylwat on April 11, 2019, 16:12:46
Anyone with similar issues or prove me wrong? Change your computer's time to a different time zone and test the clock widget.
Title: Re: Clock Widget
Post by: Itgigi (Loway) on April 16, 2019, 08:56:43
Hello Sylwat,

Changing the timezone on my computer I am able to change the Clock Widget time.

If by running:

currentTime = new Date();
datetext = currentTime.toTimeString().split(' ')[0]

On your browser console you get a different time, that is the time that the Widget Clock is using.

Best Regards,
Iacob