Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker does not select date if it's 1970/01/01 #2731

Closed
karriebear opened this issue Feb 4, 2021 · 0 comments
Closed

Datepicker does not select date if it's 1970/01/01 #2731

karriebear opened this issue Feb 4, 2021 · 0 comments
Assignees
Labels
type:bug Something isn't working type:regression This bug is a regression

Comments

@karriebear
Copy link
Contributor

import streamlit as st
from datetime import datetime
from datetime import date
w1 = st.sidebar.date_input("Label 1", date(1970, 1, 1))

Expected on left
image

@karriebear karriebear added type:bug Something isn't working type:regression This bug is a regression status:needs-triage Has not been triaged by the Streamlit team and removed status:needs-triage Has not been triaged by the Streamlit team labels Feb 4, 2021
@kajarenc kajarenc self-assigned this May 4, 2021
kajarenc added a commit that referenced this issue May 11, 2021
Fix inactive DatePicker if the date value is 10 years earlier #2731
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working type:regression This bug is a regression
Projects
None yet
Development

No branches or pull requests

2 participants