Interactive Graph Time

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Interactive Graph Time

Post by Dehatter » Mon Jan 15, 2018 5:50 pm

I maybe doing something wrong (as it seems in my past problems) but on my site, the time in the interactive graph shows 5 hrs earlier than the actual time the reading is taken.

Tom
Attachments
Current.jpg
Current.jpg (98.51 KiB) Viewed 29549 times
graphtime.jpg
graphtime.jpg (25.9 KiB) Viewed 29549 times
Image

RobF
Observer
Observer
Posts: 42
Joined: Mon Nov 06, 2017 12:50 pm
Location: Clearwater Beach, Florida
Station model: Davis Pro 2 Plus
Software: WeatherLink.com
Contact:

Re: Interactive Graph Time

Post by RobF » Wed Jan 17, 2018 7:45 pm

Mine is doing that as well. I don't see a way to set the time or time zone for this block.

RobF
Observer
Observer
Posts: 42
Joined: Mon Nov 06, 2017 12:50 pm
Location: Clearwater Beach, Florida
Station model: Davis Pro 2 Plus
Software: WeatherLink.com
Contact:

Re: Interactive Graph Time

Post by RobF » Wed Jan 17, 2018 7:52 pm

Just saw the previous thread regarding this:
viewtopic.php?f=56&t=653

Yea, the full screen has the correct times, just the block is off (5 hours here where we are here).

Any progress or ideas?

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Interactive Graph Time

Post by jay_hoehn » Wed Jan 17, 2018 8:26 pm

Interesting. Your full screen time is correct. Mine displays the same as in the block.

Jay
http://www.jayswoodfurniture.com/meteo/indexDesktop.php

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: Interactive Graph Time

Post by Fraggboy » Wed Jan 17, 2018 9:36 pm

Both Current and Interactive blocks are showing the correct time for my site. I have no idea as to what would cause that issue.. :/

Current Block:
current conditions.jpg
current conditions.jpg (34.02 KiB) Viewed 29499 times
Interactive Block:
Interactive graph.jpg
Interactive graph.jpg (39.8 KiB) Viewed 29499 times
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Thu Jan 18, 2018 5:00 am

:D yes, same for me, this is very odd

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Interactive Graph Time

Post by Dehatter » Thu Jan 18, 2018 9:09 pm

This is weird. When I check Jay’s station it was off by 5 hours like mine, but Fraggboy’s is indeed correct. Not sure why his would be different from the rest. A time zone selection issue? Gonna check into that.
Tom
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Thu Jan 18, 2018 9:10 pm

Im 100% sure it worked fine before, surely people would notice if all graphs had incorrect times. It is strange that it only occurs for some, they must have changed something in the Highcharts script, it is loaded from the central CDN, so it always uses the latest version automatically

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Interactive Graph Time

Post by Dehatter » Thu Jan 18, 2018 9:28 pm

I can confirm that changing the time zone does not affect the time on the graph. To add to the confusion, it is correct in the graph shown using fixed bootstrap setup.
Image

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Interactive Graph Time

Post by Dehatter » Thu Jan 18, 2018 9:34 pm

Additionally when I check yours Jachym, it is off by 1 hour.
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 7:47 am

the mobile site uses the exact same script as the interactive graph, the exact same time processing

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Interactive Graph Time

Post by Dehatter » Fri Jan 19, 2018 2:56 pm

all I know is that something is different.

Something about the axis generation. The label comes from the axis.

Also has something to do with time zones because your site is +1 hr and mine is -5 hours. Which is how far we are from UTC.
Image

droiddk
Newbie
Newbie
Posts: 7
Joined: Sat Oct 21, 2017 3:46 pm

Re: Interactive Graph Time

Post by droiddk » Fri Jan 19, 2018 4:24 pm

Try removing all other blocks on the page that are using Highcharts.

Regards

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 6:09 pm

The problem is that for me it works fine on my page, so it is problematic to fix something that seems to be "fixed" from my side

droiddk
Newbie
Newbie
Posts: 7
Joined: Sat Oct 21, 2017 3:46 pm

Re: Interactive Graph Time

Post by droiddk » Fri Jan 19, 2018 6:53 pm

Jachym wrote: Fri Jan 19, 2018 6:09 pm The problem is that for me it works fine on my page, so it is problematic to fix something that seems to be "fixed" from my side
The graph on this site: http://www.meteotemplate.com/template/indexDesktop.php is one hour ahead?

User avatar
Dehatter
Professional
Professional
Posts: 350
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Interactive Graph Time

Post by Dehatter » Fri Jan 19, 2018 8:45 pm

This is what it shows for me.
Attachments
graphtimeBrno.jpg
graphtimeBrno.jpg (99.24 KiB) Viewed 29401 times
currentBrno.jpg
currentBrno.jpg (75.58 KiB) Viewed 29401 times
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 9:09 pm

OK,

here is the bad news:
The highcharts script is not loaded from your server, but from the CDN which means always the latest version is used. Some change must have been made in HCh, because it affects more pages and I would 100% notice it and not release it if the times were wrong. Looking at the documentation, the recent new version (6.0) has no changes in terms of time handling so it will be complicated to try to find what is causing it.

Good news:
I can see the problem on my page as well, which gives me a chance to try to play around with it

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 9:14 pm

OK, so to make things even more mysterious... the EXACT same script (loaded from the same location) loads differently on its own and when on the homepage, can someone verify this?

http://www.meteotemplate.com/template/i ... ctiveGraph
http://www.meteotemplate.com/template/indexDesktop.php

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Interactive Graph Time

Post by jay_hoehn » Fri Jan 19, 2018 9:20 pm

Jachym,

I can confirm the problem. On the stand alone block the last datapoint reads 15:10 on the full page it reads 23:10.

Jay

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 9:32 pm

OK try now please

(it is 10:32 PM, thats what it should show on my page)

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Interactive Graph Time

Post by jay_hoehn » Fri Jan 19, 2018 9:42 pm

Jachym,

Now both read 22:34 for me. Maybe you found the issue?

Jay

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 10:08 pm

Yes, I did make some changes, works for me as well

User avatar
jay_hoehn
Language Admin
Language Admin
Posts: 135
Joined: Sun Aug 20, 2017 1:45 pm
Location: Las Cruces, NM USA
Station model: Vantage Pro 2 Plus
Software: WeeWx
Contact:

Re: Interactive Graph Time

Post by jay_hoehn » Fri Jan 19, 2018 10:27 pm

Jachym,

Will you be releasing a fix?

Jay

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Interactive Graph Time

Post by Jachym » Fri Jan 19, 2018 11:38 pm

Hopefully yes, but I need to test it a bit more before releasing it to make absolutely sure it is working

droiddk
Newbie
Newbie
Posts: 7
Joined: Sat Oct 21, 2017 3:46 pm

Re: Interactive Graph Time

Post by droiddk » Sat Jan 20, 2018 4:32 pm

Jachym wrote: Fri Jan 19, 2018 11:38 pm Hopefully yes, but I need to test it a bit more before releasing it to make absolutely sure it is working
When sure, please tell us what caused this mysterious thing...

Regards

Post Reply