-
Notifications
You must be signed in to change notification settings - Fork 102
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
dateTimePicker min/maxDate types are not all supported or wrongly documented #1020
Comments
This will be work: <b:dateTimePicker value="startdate" required="true" minDate="now" colMd="one-fourth" labelColMd="1" label="Start" format="DD-MM-YYYY" /> the datepicker comes, i belive, from https://github.com/Eonasdan/bootstrap-datetimepicker/blob/master/src/js/bootstrap-datetimepicker.js and has the fix string now inside or parse the string with moment.js
This will be not work: <b:dateTimePicker value="startdate" required="true" minDate="#{now}" colMd="one-fourth" labelColMd="1" label="Start" format="DD-MM-YYYY" />
``
-> the Java EL convert {#now} on server side before with a _wrong_ format |
I've dropped |
It works with .toInstant().toString() or with moment.js strings
i add support for Date() |
@stephanrauh do we realy support java7 and lower or can i use java8 in my solutions |
@stephanrauh I has changed in the tag lib the type to object but it also set a string. Do I something wrong or miss something? I have closed the PR #1136 and move the issue to version 1.6. |
@TheCoder4eu Would you mind to create a milestone 1.6? |
See https://stackoverflow.com/questions/52863344/bootsfaces-typeerror-mindate-could-not-parse-date-parameter
The text was updated successfully, but these errors were encountered: