question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

YYYY-MM-DD Format Not Working

See original GitHub issue

Issuehunt badges

Describe 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]

CodeSandbox Link


IssueHunt Summary

iamkun iamkun has been rewarded.

Backers (Total: $50.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
iamkuncommented, Apr 8, 2019

will fix soon

1reaction
IssueHuntBotcommented, Apr 12, 2019

@issuehunt has funded $50.00 to this issue.


Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found