Tell us what’s happening:
My app seams to work exactly the same as the provided solution, but still the tests:
The response returned from POST /api/users/:_id/exercises will be the user object with the exercise fields added.
You can add from , to and limit parameters to a GET /api/users/:_id/logs request to retrieve part of the log of any user. from and to are dates in yyyy-mm-dd format. limit is an integer of how many logs to send back.
Look at the value of the date property of the object returned. Does it look like the format the challenge expects?
If I use a date of 1990-01-01, I expect the date property value to be Mon Jan 01 1990. Your app is just showing 1990-01-01 for the date property value.
Got it to work. I made a mistake in my filter function when returning the logs, because I used the i variable instead of the elements already added to the array. Thank you very much for your help @RandellDawson!