-
Notifications
You must be signed in to change notification settings - Fork 195
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
minDate / maxDate dates bug? #134
Comments
I'm getting this too. |
even I'm getting. |
need set defalut value in input - ISOString format |
Im getting the same error here, here is my component:
|
I've made a branch in my fork that fixes this. You can install it in your package.json, or you can install this branch, which also includes another min/maxDate-related bug fix, described in PR #131. For example, I use Yarn, so I was able to get both those fixes in my app by running: # remove current version
yarn remove react-bootstrap-date-picker
# install branch with fixes
yarn add "https://github.com/travellingprog/react-bootstrap-date-picker#fix-makeDateValue-bug" |
Did you make a pr? @travellingprog |
@marcusmann yeah, it's PR #137 |
I've merged PR #137 - so this bug should be fixed now 👍 |
I'm using the latest version and I am still getting this error when trying to set minDate. |
@glennWerner It's because of this month old issue: #139 . Unclear why the package has not been able to be updated. |
@glennWerner and @seangarita this is a community supported project. We've done our best to share this code but are not always available to review and release updates. If you're interested in professional support feel free to contact me directly. |
I worked with react-bootstrap-date-picker in the pasts and never have a problem.
I'm passing to the
<DatePicker />
component theminDate
maxDate
props (like always) and, well, im getting this error:The dates are strings, ISO strings to be precise:
minDate: 2017-06-01T00:00:00.000Z
maxDate: 2017-06-30T00:00:00.000Z
And the code:
Any idea? This never happened before.
The text was updated successfully, but these errors were encountered: