We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug Dayjs can't parse a string with extra words like days of the week.
scheduledTime = "14:05 - Friday 3 Sep 2021" dayjs(scheduledTime, "hh:mm D MMM YYYY") // => Invalid date dayjs(scheduledTime, "hh:mm - D MMM YYYY") // => Invalid date
I've found that dayjs(scheduledTime, "hh:mm - ...... D MMM YYYY") works for "Friday", but days of the week have a different count of characters :)
dayjs(scheduledTime, "hh:mm - ...... D MMM YYYY")
It worked two weeks ago. But now, after I've updated Dayjs, it's not working anymore.
Expected behavior Two variants:
Information
The text was updated successfully, but these errors were encountered:
There is a problem with parsing of some formats. I pushed a pr for this already.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Dayjs can't parse a string with extra words like days of the week.
I've found that
dayjs(scheduledTime, "hh:mm - ...... D MMM YYYY")
works for "Friday", but days of the week have a different count of characters :)It worked two weeks ago. But now, after I've updated Dayjs, it's not working anymore.
Expected behavior
Two variants:
Information
The text was updated successfully, but these errors were encountered: