Fix of timestamp selections in streams
Changed from fromtimestamp to utcfromtimestamp for support of 2.7.15 and 3.6+
@@ -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))
