BCDA-APS / gemviz

Data visualization for tiled
https://bcda-aps.github.io/gemviz/
Other
4 stars 0 forks source link

increase maximum date for DateTimeRangeSlider widget #73

Closed prjemian closed 1 year ago

prjemian commented 1 year ago

The new maximum limit (the year 246953) is more than datetime can represent.

In [6]: datetime.datetime.fromtimestamp(2147483647*DAY)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[6], line 1
----> 1 datetime.datetime.fromtimestamp(2147483647*DAY)

ValueError: year 246953 is out of range

The new maximum is not likely to be a limiting factor.