# Average bars node issue

**URL:** https://discourse.nodered.org/t/average-bars-node-issue/9751
**Category:** General
**Created:** [3 April 2019 21:05 UTC](https://discourse.nodered.org/t/average-bars-node-issue/9751 "2019-04-03T21:05:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![olab](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@olab](https://discourse.nodered.org/u/olab)
#### Post date: [3 April 2019 21:05 UTC](https://discourse.nodered.org/t/average-bars-node-issue/9751/1 "2019-04-03T21:05:01Z")

</div>

Hello,

I’ve implemended the average bars node into my node-red project but there is one issue. It looks to me that all average values is linked to the wrong x legend when using Daily display. Values seems to be logged on UTC time and not local time. Any idea on how to solve this one?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [3 April 2019 21:18 UTC](https://discourse.nodered.org/t/average-bars-node-issue/9751/2 "2019-04-03T21:18:38Z")

</div>

Make a small flow showing the problem and post it here.

---

<div class="post-metadata">

### Author: ![olab](https://avatars.discourse-cdn.com/v4/letter/o/d07c76/32.png) [@olab](https://discourse.nodered.org/u/olab)
#### Post date: [4 April 2019 04:59 UTC](https://discourse.nodered.org/t/average-bars-node-issue/9751/3 "2019-04-04T04:59:25Z")

</div>

Hi,  
I got comfused by the debugging in node-red showing the correct time. Well... the host time was two hours wrong. Looks like I need to set up some kind of ntp sync.

Kind regards

O

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [4 April 2019 07:59 UTC](https://discourse.nodered.org/t/average-bars-node-issue/9751/4 "2019-04-04T07:59:11Z")

</div>

The debug node runs in the browser and shows browser local time. The server runs in the node-red machine and uses the servers time.  
Check whether it is the host time that is wrong, or whether it has not been configured with the correct timezone.
