diff --git a/holoviews/plotting/bokeh/util.py b/holoviews/plotting/bokeh/util.py index 4edb0e259c..36cd7f1795 100644 --- a/holoviews/plotting/bokeh/util.py +++ b/holoviews/plotting/bokeh/util.py @@ -86,7 +86,7 @@ def convert_timestamp(timestamp): """ Converts bokehJS timestamp to datetime64. """ - datetime = dt.datetime.fromtimestamp(timestamp/1000., dt.timezone.utc) + datetime = dt.datetime.utcfromtimestamp(timestamp/1000.) return np.datetime64(datetime.replace(tzinfo=None))