Exercise Tracker not passing log date format test

Tell us what’s happening:

App works correctly, responses appear correct per test specs on manual inspection. As you’ll see there’s console logging in the current solution that logs out each date property of an entry in a log object and its type and they’re all logging as correct format and type,

but… the test still fails:
The date property of any object in the log array that is returned from GET /api/users/:id/logs should be a string… Use the dateString format of the Date

I can’t seem to find the spec I’m missing.

Your project link(s)

solution: https://replit.com/@zenlex/boilerplate-project-exercisetracker-1

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Exercise Tracker

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.