javascript - Highchart GMT and one hour offset -
i'm using highchart , codeigniter (not relevant in case think). have couple of (date,data) , use them in highchart spline chart. pb come gmt. i'm using timestamp format (store in format in mysql database) have 1 hour less in chart.
for example : timestamp 1364166000000 give me epoch website : gmt: sun, 24 mar 2013 23:00:00 gmt time zone: lundi 25 mars 2013 00:00:00 gmt+1
but chart give me 23:00:00. don't care of local gmt. error in date management ?
thanks on this
have tried setting global.useutc
false
? default, highcharts show dates in utc (hence 23:00 time value seeing).
highcharts.setoptions({ global: { useutc: false } });
see documentation here , corresponding demos.
Comments
Post a Comment