Skip to content

Enable datetime formatting in st.slider #950

@RichardOberdieck

Description

@RichardOberdieck

Problem

I tried to make a slider for start and end dates, but that is not possible as of today, since the slider only accepts int/float (see also here).

Solution

I suggest that it should also accept datetime, and the format parameter can then be used to style its string representation.

Metadata

Metadata

Assignees

Labels

type:enhancementRequests for feature enhancements or new features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions