-
Notifications
You must be signed in to change notification settings - Fork 162
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
Parse 'moment' and raw ISO string dates in datepicker #2976
Comments
We're currently working on implementing an input in the date picker so the user could manually enter dates. This is the spec: Related issue is #3034. We will support various ISO date formats. For more details see the spec above. |
@jdk339 We don't have immediate plans to support moment library. |
@bkulov Okay thanks, at least ISO strings will be supported. |
@jdk339 Could you please provide us a few examples of strings which could not be properly parsed by new Date() so we could test if |
@bkulov |
Hello jdk339, |
Feature Request
It would be great if the
igx-date-picker
component could read both ISO date strings and 'moment' objects. Currently, I have to do something like the following:Also, the problem with this is that
new Date()
does not always parse strings properly, so ifigx-date-picker
could parse ISO strings it would help out a lot.The text was updated successfully, but these errors were encountered: