Level 29
Shouldn't it be dayjs().date(15).format('Do')
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Performing a Cypress test on a date
dayjs(15).format('Do') + " of every month";
So this should display 15th of every month but in the cypress test in display Invalid Date of every month. Outside the test it displays fine.
Shouldn't it be dayjs().date(15).format('Do')
Please or to participate in this conversation.