Datetime slider

Hi Adrien!

I got it to work. I made a mistake when I imported the module datetime.
What I did was the following: From datetime import date, datetime.
=> When you import date as well, python is confused and messes up.

The answer thus lies into importing only the module datetime as a whole.

However, I’m still not able to make a slider with a range of dates, since the widget allows us to only use integers or floats as values for the slider. Do you happen to know if a datetime slider is on the roadmap?

Thanks!

1 Like