Back End Development and APIs Projects - Timestamp Microservice

Tell us what’s happening:
Been trying with no success to pass the test N° 5, the one that says Your project can handle dates that can be successfully parsed by new Date(date_string). I’ve tried locally using Insomnia and using Replit and i think it works as it should, however this test always fails.

Your project link(s)

solution: boilerplate-project-timestamp - Replit

githubLink: GitHub - EllyanF/boilerplate-project-timestamp: A boilerplate for a freeCodeCamp project.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Back End Development and APIs Projects - Timestamp Microservice

Link to the challenge:

I would expect a call to:

to return:

{"unix":818035200000,"utc":"Mon, 04 Dec 1995 00:00:00 GMT"}

or a call to:, 09 Aug 1995 00:00:00 GMT

to return:

{"unix":807926400000,"utc":"Wed, 09 Aug 1995 00:00:00 GMT"}

Take a look at this MDN page on Date.parse() and look at the kinds of date strings that your app should be able to handle.

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