kyper-data / python-highcharts

A simple translation layer between Python and Javascript for Highcharts projects (highcharts, highmaps, and highstocks).
MIT License
393 stars 190 forks source link

UTC time highstock #50

Open stef30360 opened 6 years ago

stef30360 commented 6 years ago

hi, it's creazy !!!! I don't use local time with higthstock, I know that is a bad idea to work by local time but I need this. I create list of list [[timestamp, value],.....] with my correct timestamp local time, but it display always UTC time....grrrrr. any ideas regards SR

AokiAhishatsu commented 6 years ago

Some global options are deprecated since HC v6.0.5: https://api.highcharts.com/highcharts/global.useUTC

But the old way still works: chart.set_options("global", {"useUTC": False})