Open JagadishQA0028 opened 7 months ago
interesting. Does that only happen for Feb 29 or for any date?
no for that specific format DD-MMM-YYYY I'm getting as D-MMMZ
I haven't seen that format yet, is it common in your region? I think it should work as expected if you leave out the dashes
Yes, it is common for us, Our product needs this date format DD-MMM-YYYY (including dashes) So to Verify the date is in correct format or not, I use moment.parseFormat('04-Mar-2024') but it is not working as expected.
moment.parseFormat('29-Feb-2024')
parsed toD-MMMZ
, I expected: DD-MMM-YYYY