Issue formatting 02/20
See original GitHub issueDescribe the bug
const month = dayjs.utc(02/20, 'MM/YY').format('MM')
const year = dayjs.utc(02/20, 'MM/YY').format('YYYY')
The above returns:
month = 03
year = 2020
Expected behavior
month = 02
year = 2020
Additional Information I think this is a leap year issue
Information
- Day.js Version: v1.8.16
- OS: MacOS 10.14
- Browser Chrome 78
- Time zone: GMT-06:00 DST (Central Daylight Time)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Support code formatting · Issue #220 · Azure/bicep - GitHub
Successfully merging a pull request may close this issue. Code formatter for Bicep Azure/bicep. 2 participants. @alex ...
Read more >Drive is locked - error 0220 - WD Community
' windows cant be installed to this disk ' and tried to fix that problem using cmd , nothing happened. ... Hello and...
Read more >Formatting error in the field EKPO-MEPRF - SAP Community
Hi Friends, I am doing a development of a mass upload tool using BDC recording for creating and updating contracts using ME31K and...
Read more >ISO 8583 - Wikipedia
ISO 8583 defines a message format and a communication flow so that different systems can exchange these transaction requests and responses.
Read more >XSL Transformations (XSLT) Version 2.0 (Second Edition)
Abstract. This specification defines the syntax and semantics of XSLT 2.0, a language for transforming XML documents into other XML ...
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

Odd, just cloning that example I see a different result, no changes.
https://runkit.com/svjard/5dbb2da38795ea001414b056
fixed in #761 and will use the first day of the month while there’s no ‘day’ provided.