I use highchart to display data on the x-axis. The data refers to a specific location on the globe, so I need HightChart to display the time of that location. This is not UTC or the time zone of the local browser.
I already saw the UTC setting to use the local UTC or browser time:
Highcharts.setOptions({ global: { useUTC: true } });
And I'm already thinking about applying a delay according to my target time zone in label formatting. but a little more complicated: how to manually control the summer / winter time switch in any country, etc.
Maybe if there is a way to set the timezone in the javascript date object to use getLocalString() with a specific getLocalString() /
Any idea on how to do this?
source share