You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree.
My expectation is that dayJS should parse combination of locale-insensitive parameters like MM, DD, YYYY by default.
So, should be able to parse this by default: dayjs("18/10/2024", "DD/MM/YYYY")
This should be core stuff.
Only for stuff like MMMM like dayjs("2018 Enero 15", "YYYY MMMM DD", "es") to require a plugin.
Describe the bug
String + Format (https://github.com/dayjs/dayjs-website/blob/master/docs/parse/string-format.md) does not specify when the
CustomParseFormat
plugin can be omitted. The second line "This requires theCustomParseFormat
plugin to work" makes it seem like you should always use the plugin.Expected behavior
List all cases where you can parse without the
CustomParseFormat
plugin. ChatGPT reports these cases:Information
The text was updated successfully, but these errors were encountered: