YYYY-MM-DD Format Not Working
See original GitHub issueDescribe the bug
When passing in a parse format of YYYY-MM-DD
with an invalid date string of 10/12/2014
, should result in and invalid date but instead resolves to 08-14-2015
Expected behavior
Should result in date.isValid() === false
Information
- Day.js Version [e.g. v1.8.11]
- OS: [e.g. MacOS]
- Browser [e.g. chrome 73]
IssueHunt Summary
iamkun has been rewarded.
Backers (Total: $50.00)
- issuehunt ($50.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
yyyy-MM-dd date format not working - vb.net - Stack Overflow
I can't get my date to format as yyyy-MM-dd, for instance 2013-01/15. I have tried both custom and predefined Date/Time formats.
Read more >DATEVALUE Function not converting yyyymmdd
Hello,. I'm looking for a simpler way to convert yyyymmdd formatted dates in data to mm/dd/yyyy (or m/d/yyyy) to replace the DATE function...
Read more >SQL Convert Date to YYYYMMDD
Problem. Often when working with dates in SQL Server you may want to use the Year, Month, Day format 'yyyymmdd' as output or...
Read more >How to change Excel date format and create custom formatting
The tutorial explains what Excel date format is and demonstrates how to change date format in Excel, convert date to number, create custom ......
Read more >How to Format Date to String in Java 8 [Example Tutorial]
Since we are going to convert the format "yyyy-MM-dd hh:mm:ss" to ... If you are not running on JDK 8 then you need...
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 FreeTop 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
Top GitHub Comments
will fix soon
@issuehunt has funded $50.00 to this issue.