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

Cannot select dates before 1970. #51

Open
w8s opened this issue Mar 3, 2016 · 1 comment
Open

Cannot select dates before 1970. #51

w8s opened this issue Mar 3, 2016 · 1 comment

Comments

@w8s
Copy link

w8s commented Mar 3, 2016

Using the current bootstrap3-datetimepicker, I cannot select dates before 1970.

see similar issue with angular package.

screen shot 2016-03-03 at 8 28 46

It appears newer versions of the bootstrap3-datetimepicker library fix this. I noticed a few pull-requests to integrate newer versions of the bootstrap3-datetimepicker in this package. Are there plans to integrate updated versions?

@macdonaldcalumj
Copy link

In the widget options in your form you need to set the start date, like so.

widget=DateTimePicker(options={"format": "DD-MM-YYYY", "pickTime": False, "startDate": '-Infinity'})

-Infinity lets you select any date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants