We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Patient Medical Records
Patient Medical Records
Sort by
recency
|
24 Discussions
|
Please Login in order to post a comment
I passed all test cases but my submission is still scored at 0? why?
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
is allow to use moment? I was able to add it to the dependencies, but after that i can not import it. I assume the npm install is missing but i have no idea how to do it...
First check the App.test.js file it is not that hard to read and understand. Then you will know why your code is not passing the tests. The most annoying part is the timestamp formatting. It must be in this format to work :
What does "SL" stand for?