Invalid date supplied: 2016-12-27T16:16:22.585Z
See original GitHub issueIt appears minDate
is still not parsed. I see jumpDate
is parsed, but then minDate
appears to not be. https://github.com/chmln/flatpickr/blob/bc0e3a265db0988d58e23b79d610b1f23e03c335/src/flatpickr.js#L147
I assume the same issue will apply to maxDate
. Every single date in the code needs to be parsed. There should be a central parsing location, as to not have all of these issues.
@chmln could we please add tests for setting minDate and maxDate to the values I am using? We are 5 patch versions in now and still having issues. This definitely needs to be tested.
Expected Behavior
Allow actually setting minDate and maxDate
Current Behavior
Invalid date
Possible Solution
Parse all the dates all the time, and add tests to catch dates not working in the future
Steps to Reproduce (for bugs)
- Set
minDate
to'2016-12-24T16:16:22.585Z'
Your Environment
- Version used: 2.0.5
- Browser Name and version: Chrome
- Operating System and version (desktop or mobile): OS X
- Link to your project:
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (16 by maintainers)
Top Results From Across the Web
sql - Teradata - Invalid Date supplied for FIELD - Stack Overflow
I'm trying to query a table that has a varchar(100) "VALUE" column. This column can hold anything from a letter, a number or,...
Read more >- "Invalid date supplied for" error - Community
I have an issue when I try to retrieve data from MS Query with a parameter in my SQL pointing to a DATE...
Read more >"[Teradata]Invalid date supplied for tab1.col1" while ... - ERROR
This error can occur when one or more of the following are true: The target DATE column is defined as TIMESTAMP in the...
Read more >RangeError: invalid date - JavaScript - MDN Web Docs
The JavaScript exception "invalid date" occurs when a string leading to an invalid date has been provided to Date or Date.parse().
Read more >Invalid Date Format Message On Corporate Card Log File ...
The upload process will upload the transaction without validating. (EXM-630197) Cause: An invalid date format 00000000 was provided for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@chmln if you wouldn’t mind taking a look at my use case and helping to resolve this, that would be awesome! I would love to have ember-flatpickr on the latest, but I cannot until all the tests pass again.
Just kidding, I did a nombom and everything passes now. Thanks for your help addressing these issues @chmln!