79280772

Date: 2024-12-14 14:15:27
Score: 0.5
Natty:
Report link

In your changeDate function you need to add the formatted date in the input the update function doesn't set the input value

// Set the formatted date to the input field
    $("#date-input").val(formattedDate);

This will solve your issue

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sakshi Mahajan