Patient Medical Records

  • + 1 comment

    To pass test cases and missing information in problem:

    SL = index+1;

    To convert timeStamp and to pass 3rd, 4th test case:

    const formatDate = (timestamp) => new Intl.DateTimeFormat('en-GB').format(new Date(timestamp));

    This will format timestamp to dd/mm/yyyy required to pass the test cases