Xaxis datetime timezone change

I‘m using dash for zabbix graph,and I have get the timestamp,but it show me the UTC time.How to change it to my local timezone?

You’ll need to modify the timestamps yourself before plotting them.

Thanks,it’s work well.

Try the approach described in Timezone of datetimes not being reflected in bar graphs

1 Like

Been having a similar problem. I am not sure what to do at this point.

Here is what i got a print from data frame (pandas) loaded from excel:
0 2016-10-08
1 2016-10-09
2 2016-10-10

Clearly no info about time zone. Just a day.

When plotted in scatterplot i get a two hours shift, which is impossible to fix even when i make the Day df index and set its timzone with df.tz_localize(“CET”) or any other locale. It just does not change the scatterplot which plots the data starting 2016-10-08 at 22:00 o’clock.

This is getting really annoying! Can someone please help?

Hi did you work on the zabbix data can you help us understand did you used a mysql query or api for fetching the daa