Author Topic: Clock Widget  (Read 1368 times)

sylwat

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
    • Email
Clock Widget
« 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?

Itgigi (Loway)

  • Loway
  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #1 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

sylwat

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #2 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.

Itgigi (Loway)

  • Loway
  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #3 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


sylwat

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #4 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?

sylwat

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #5 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.

Itgigi (Loway)

  • Loway
  • Newbie
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • Email
Re: Clock Widget
« Reply #6 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