Set timezone on 'x unified' hovermode

I’m trying to plot time series data. When plotting the data, plotly displays the correct date on the x-axis. However, on the hover label plotly converts my date objects from UTC to local time. This means that that label doesn’t match the axis. (See screenshot)

Is there a way to specify in the layout that I want to keep UTC?

I believe that plotly.js does not support timezones, and that others have had the same problem that you are seeing. Perhaps this discussion in stackoverflow might help:

This may also prove useful to you:

HTH, Rob